Click or drag to resize
MimeKit

SearchQueryOr(SearchQuery, SearchQuery) Method

Create a conditional OR operation.

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

Parameters

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

Return Value

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

left is null.

-or-

right is null.

Remarks
A conditional OR operation only evaluates the second operand if the first operand evaluates to false.
See Also