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


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

    Parameters

    index
    The index of the column or row on which to sort.
    ascending
    If set to true, sort order is ascending.
    See Also