Spread for ASP.NET 12 Product Documentation
SortInfo Constructor(Int32,Boolean)


FarPoint.Web.Spread Assembly > FarPoint.Web.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
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

Reference

SortInfo Class
SortInfo Members
Overload List