Click or drag to resize
MimeKit

SearchQueryAnd(SearchQuery) Method

Create a conditional AND operation.

Namespace: MailKit.Search
Assembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax
C#
public BinarySearchQuery And(
	SearchQuery expr
)

Parameters

expr  SearchQuery
An additional query to execute.

Return Value

BinarySearchQuery
A BinarySearchQuery representing the conditional AND operation.
Exceptions
ExceptionCondition
ArgumentNullExceptionexpr is null.
Remarks
A conditional AND operation only evaluates the second operand if the first operand evaluates to true.
See Also