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

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

    Parameters

    index
    The zero-based starting index of the range to sort.
    count
    The length of the range to sort.
    comparison
    The GrapeCity.Documents.Common.StructComparison`1 to use when comparing elements.
    See Also