MailKit Documentation
MailKit Documentation
API Reference
MailKit.Search
SearchQuery Class
SearchQuery Methods
Or Method
Or(SearchQuery) Method
Or(SearchQuery, SearchQuery) Method
Search
Query
Or(Search
Query) Method
Create a conditional OR operation.
Namespace:
MailKit.Search
Assembly:
MailKit (in MailKit.dll) Version: 4.3.0
Syntax
C#
Copy
public
BinarySearchQuery
Or
(
SearchQuery
expr
)
Parameters
expr
SearchQuery
An additional query to execute.
Return Value
BinarySearchQuery
A
BinarySearchQuery
representing the conditional AND operation.
Exceptions
Exception
Condition
ArgumentNullException
expr
is
null
.
Remarks
A conditional OR operation only evaluates the second operand if the first operand evaluates to true.
See Also
Reference
SearchQuery Class
Or Overload
MailKit.Search Namespace
Copyright © 2013-2023 Jeffrey Stedfast
Send comments on this topic to
Jeffrey Stedfast