Click or drag to resize

SortBy Class

Represents expressions that can be used by Sort(ISorter) methods. To join several sort criteria use Multiple(ISorter).
Inheritance Hierarchy
SystemObject
  Limilabs.Client.IMAPSortBy

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

The SortBy type exposes the following members.

Methods
 NameDescription
Public methodStatic memberArrival Internal date and time of the message. This differs from the ON criteria in SEARCH, which uses just the internal date.
Public methodStatic memberCc Sorts on local part of the first "cc" address.
Public methodStatic memberDate Sent date and time, as described in section 2.2.
Public methodStatic memberFrom Sorts on local part of the first "From" address.
Public methodStatic memberMultiple Returns multiple sort criteria.
Public methodStatic memberReverse Reverses specified sorter. Descending order is used. 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 methodStatic memberSize Size of the message in octets.
Public methodStatic memberSubject Base subject text.
Public methodStatic memberTo Sorts on local part of the first "To" address.
Top
See Also