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.7.1
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.

Note  Note
This is equivalent to the OR search key as defined in rfc3501.
See Also