Sorts the elements in a section of ImapMessageCollection using the specified comparer.

Namespace:  Rebex.Net
Assembly:  Rebex.Imap (in Rebex.Imap.dll)

Syntax

Visual Basic
Public Sub Sort ( _
	index As Integer, _
	count As Integer, _
	comparer As IComparer _
)
C#
public void Sort(
	int index,
	int count,
	IComparer comparer
)

Parameters

index
Type: System..::..Int32
The zero-based starting index of the range to sort.
count
Type: System..::..Int32
The length of the range to sort.
comparer
Type: System.Collections..::..IComparer
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.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also