Click or drag to resize
MimeKit

SearchQueryAnd(SearchQuery, SearchQuery) Method

Create a conditional AND operation.

Namespace: MailKit.Search
Assembly: MailKit (in MailKit.dll) Version: 4.3.0
Syntax
C#
public static BinarySearchQuery And(
	SearchQuery left,
	SearchQuery right
)

Parameters

left  SearchQuery
The first operand.
right  SearchQuery
The second operand.

Return Value

BinarySearchQuery
A BinarySearchQuery representing the conditional AND operation.
Exceptions
ExceptionCondition
ArgumentNullException

left is null.

-or-

right is null.

Remarks
A conditional AND operation only evaluates the second operand if the first operand evaluates to true.
See Also