Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SortInfo Class / SortInfo Constructor / SortInfo Constructor(Int32,Boolean)
Index of the column or row on which to sort
Whether the sort order is ascending


In This Topic
    SortInfo Constructor(Int32,Boolean)
    In This Topic
    Creates a SortInfo object with the order specified and the comparison done using the system default comparer.
    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
    Index of the column or row on which to sort
    ascending
    Whether the sort order is ascending
    See Also