Click or drag to resize
MimeKit

SearchQueryAnd Method (SearchQuery)

Create a conditional AND operation.

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

Parameters

expr
Type: MailKit.SearchSearchQuery
An additional query to execute.

Return Value

Type: 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