Visual Basic (Declaration) | |
---|---|
Public Overloads Sub Sort( _ ByVal index As Integer, _ ByVal count As Integer, _ ByVal comparer As IComparer _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As PersistableObjectCollectionBase(Of TParent,TItem) Dim index As Integer Dim count As Integer Dim comparer As IComparer instance.Sort(index, count, comparer) |
Parameters
- index
- The zero-based starting index of the range to sort.
- count
- The length of the range to sort.
- comparer
- The System.Collections.IComparer implementation to use when comparing elements.-or- null to use the System.IComparable implementation of each element.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2