Click or drag to resize
MimeKit

SearchQueryHasKeyword Method

Match messages that have the specified keyword set.

Namespace: MailKit.Search
Assembly: MailKit (in MailKit.dll) Version: 4.3.0
Syntax
C#
public static TextSearchQuery HasKeyword(
	string keyword
)

Parameters

keyword  String
The keyword.

Return Value

TextSearchQuery
A TextSearchQuery.
Exceptions
ExceptionCondition
ArgumentNullExceptionkeyword is null.
ArgumentExceptionkeyword is empty.
Remarks

Matches messages that have the specified keyword set.

Note  Note
A keyword is a user-defined message flag.
See Also