Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / SortInfo Class / SortInfo Constructor / SortInfo Constructor(Int32,Boolean,IComparer)
The index of the column or row on which to sort.
If set to true, sort order is ascending.
An System.Collections.IComparer object for the method of comparison.


In This Topic
    SortInfo Constructor(Int32,Boolean,IComparer)
    In This Topic
    Creates a SortInfo object with the specified order and comparison that uses a specified comparer.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal index As Integer, _
       ByVal ascending As Boolean, _
       ByVal comparer As IComparer _
    )
    'Usage
     
    Dim index As Integer
    Dim ascending As Boolean
    Dim comparer As IComparer
     
    Dim instance As New SortInfo(index, ascending, comparer)
    public SortInfo( 
       int index,
       bool ascending,
       IComparer comparer
    )

    Parameters

    index
    The index of the column or row on which to sort.
    ascending
    If set to true, sort order is ascending.
    comparer
    An System.Collections.IComparer object for the method of comparison.
    See Also