ImapMessageCollection.Sort Method
Namespace: Rebex.Net
Assembly: Rebex.Imap.dll (version 7.0.9147)
Sort()
Sorts the messages in the entire Imap
Declaration
public void Sort()
Sort(IComparer)
Sorts the elements in the entire Imap
Declaration
public void Sort(IComparer comparer)
Parameters
Type | Name | Description |
---|---|---|
IComparer | comparer | The IComparer implementation to use when comparing elements, or a null reference to sort by sequence number ascending. |
Remarks
This method uses Sort(IComparer), which uses QuickSort algorithm. See its description for more information.
Sort(Int32, Int32, IComparer)
Sorts the elements in a section of Imap
Declaration
public void Sort(int index, int count, IComparer comparer)
Parameters
Type | Name | Description |
---|---|---|
Int32 | index | The zero-based starting index of the range to sort. |
Int32 | count | The length of the range to sort. |
IComparer | comparer | The IComparer implementation to use when comparing elements, or a null reference to sort by sequence number ascending. |
Remarks
This method uses Sort(Int32, Int32, IComparer), which uses QuickSort algorithm. See its description for more information.