Click or drag to resize
MimeKit

SearchQueryHasFlags Method

Match messages that have the specified flags set.

Namespace: MailKit.Search
Assembly: MailKit (in MailKit.dll) Version: 4.3.0
Syntax
C#
public static SearchQuery HasFlags(
	MessageFlags flags
)

Parameters

flags  MessageFlags
The message flags.

Return Value

SearchQuery
A SearchQuery.
Exceptions
ExceptionCondition
ArgumentExceptionflags does not specify any valid message flags.
Remarks
Matches messages that have the specified flags set.
See Also