SortConditions Class

Provides the search conditions for the SORT extension. Compatibles with SORT IMAP extension described at
Inheritance Hierarchy

Namespace:  Aspose.Email.Clients.Imap
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 22.4
public sealed class SortConditions : BaseSearchConditions

The SortConditions type exposes the following members.

Public methodSortConditions
Initializes a new instance of the SortConditions class
Public propertyCharset
Gets or sets charset. Indicates the charset of the strings that appear in the searching criteria.
(Inherited from BaseSearchConditions.)
Public propertyReverseBy
Gets or sets reverse sort criteria Followed by another sort criterion, has the effect of that criterion but in reverse(descending) order. Note: REVERSE only reverses a single criterion, and does not affect the implicit "sequence number" sort criterion if all other criteria are identical. Consequently, a sort of REVERSE SUBJECT is not the same as a reverse ordering of a SUBJECT sort. This can be avoided by use of additional criteria, e.g., SUBJECT DATE vs. REVERSE SUBJECT REVERSE DATE. In general, however, it's better (and faster, if the client has a "reverse current ordering" command) to reverse the results in the client instead of issuing a new SORT.
Public propertySince
Gets or sets the message date since which the search criteria matches.
(Inherited from BaseSearchConditions.)
Public propertySortBy
Gets or sets sort criteria
Public propertyText
Gets or sets subject text.
(Inherited from BaseSearchConditions.)
Public propertyUseUId
Gets or sets a value indicating whether the search method returns sequence numbers or UIDs of messages.
(Inherited from BaseSearchConditions.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also