Click or drag to resize
MimeKit

SearchQueryNot Method

Create a logical negation of the specified expression.

Namespace: MailKit.Search
Assembly: MailKit (in MailKit.dll) Version: 4.3.0
Syntax
C#
public static UnarySearchQuery Not(
	SearchQuery expr
)

Parameters

expr  SearchQuery
The expression

Return Value

UnarySearchQuery
A UnarySearchQuery.
Exceptions
ExceptionCondition
ArgumentNullExceptionexpr is null.
Remarks
Creates a logical negation of the specified expression.
See Also