SortConditions class

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

public sealed class SortConditions : BaseSearchConditions


Name Description
SortConditions() The default constructor.


Name Description
Charset { get; set; } Gets or sets charset. Indicates the charset of the strings that appear in the searching criteria.
ReverseBy { get; set; } 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.
Since { get; set; } Gets or sets the message date since which the search criteria matches.
SortBy { get; set; } Gets or sets sort criteria
Text { get; set; } Gets or sets subject text.
UseUId { get; set; } Gets or sets a value indicating whether the search method returns sequence numbers or UIDs of messages.

See Also