Click or drag to resize

FluentSearch Class

Represents IMAP search query. You can use Search method to create this object.
Inheritance Hierarchy
SystemObject
  Limilabs.Client.IMAPFluentSearch

Namespace: Limilabs.Client.IMAP
Assembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntax
public class FluentSearch

The FluentSearch type exposes the following members.

Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetList Issues the search query and retrieves UIDs or message numbers of messages, that match the search criteria, using server-side searching.
Public methodGetListAsync Issues the search query and retrieves UIDs or message numbers of messages, that match the search criteria, using server-side searching.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodNoCharset Forces the client not to use CHARSET command. Some servers (e.g. Exchange 2007) fail to understand CHARSET command.
Public methodParentheses Sets the parentheses mode to use when rendering ICriterion lists.
Public methodResultsAs Sets the result type (message numbers or UIDs) of this search query.
Public methodSort Adds sort criteria to this search. Use Multiple(ISorter) and other SortBy class properties to create a valid sort expression. Not all servers support Sort. You can check which extensions remote server supports using SupportedExtensions method.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodUseEncoding Forces the use of specified encoding. Some servers do not support this feature. This method has no effect when server supports UTF8=ACCEPT.
Public methodWhere Adds where condition to this search. Use And(ICriterion) and other Expression methods to create a valid search query. You can also pass SimpleImapQuery to this method.
Top
Operators
 NameDescription
Public operatorStatic member(FluentSearch to ListInt64) Issues the search query and retrieves UIDs or message numbers of messages, that match the search criteria, using server-side searching.
Public operatorStatic member(FluentSearch to TaskListInt64) Issues the search query and retrieves UIDs or message numbers of messages, that match the search criteria, using server-side searching.
Top
Remarks
Uids is default, use ResultsAs(ResultType) method to change the result type.
See Also