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


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SortInfo Class > SortInfo Constructor : SortInfo Constructor(Int32,Boolean,IComparer)
Index of the column or row on which to sort
Whether the sort order is ascending
IComparer object for method of comparison
Creates a SortInfo object with the order specified and the comparison done according to the 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
Index of the column or row on which to sort
ascending
Whether the sort order is ascending
comparer
IComparer object for method of comparison
See Also

Reference

SortInfo Class
SortInfo Members
Overload List