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.23341.1754
Syntax
public class FluentSearch

The FluentSearch type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves 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 methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates 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 methodToString
Returns 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
Remarks
Uids is default, use ResultsAs(ResultType) method to change the result type.
See Also