Text Search Query Constructor
Initializes a new instance of the TextSearchQuery class.
Definition
Namespace: MailKit.Search
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public TextSearchQuery(
SearchTerm term,
string text
)Parameters
- term SearchTerm
- The search term.
- text String
- The text to match against.
Remarks
Creates a new text-based search query.
Exceptions
| ArgumentNullException | text is . |
| ArgumentException | text is empty. |