Documents for Imaging .NET Edition | GCDocuments
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Common Namespace / StructList<T> Class / Sort Method / Sort(Int32,Int32,IStructComparer<T>) Method
The zero-based starting index of the range to sort.
The length of the range to sort.
The IStructComparer<T> implementation to use when comparing elements.

In This Topic
    Sort(Int32,Int32,IStructComparer<T>) Method
    In This Topic
    Sorts the elements in a range of elements in StructList<T> using the specified comparer.
    Syntax
    'Declaration
     
    Public Overloads Sub Sort( _
       ByVal index As System.Integer, _
       ByVal count As System.Integer, _
       ByVal comparer As IStructComparer(Of T) _
    ) 
    public void Sort( 
       System.int index,
       System.int count,
       IStructComparer<T> comparer
    )

    Parameters

    index
    The zero-based starting index of the range to sort.
    count
    The length of the range to sort.
    comparer
    The IStructComparer<T> implementation to use when comparing elements.
    See Also