Click or drag to resize
MimeKit

TextSearchQuery Constructor

Initializes a new instance of the TextSearchQuery class.

Namespace: MailKit.Search
Assembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax
C#
public TextSearchQuery(
	SearchTerm term,
	string text
)

Parameters

term  SearchTerm
The search term.
text  String
The text to match against.
Exceptions
ExceptionCondition
ArgumentNullExceptiontext is null.
ArgumentExceptiontext is empty.
Remarks
Creates a new text-based search query.
See Also