[]
        
(Showing Draft Content)

FarPoint.Web.Spread.SortInfo.-ctor

SortInfo Constructor

SortInfo(int, bool)

Creates a SortInfo object with the order specified and the comparison done using the system default comparer.

Declaration
public SortInfo(int index, bool ascending)
Public Sub New(index As Integer, ascending As Boolean)
Parameters
Type Name Description
int index

Index of the column or row on which to sort

bool ascending

Whether the sort order is ascending

SortInfo(int, bool, IComparer)

Creates a SortInfo object with the order specified and the comparison done according to the specified comparer.

Declaration
public SortInfo(int index, bool ascending, IComparer comparer)
Public Sub New(index As Integer, ascending As Boolean, comparer As IComparer)
Parameters
Type Name Description
int index

Index of the column or row on which to sort

bool ascending

Whether the sort order is ascending

IComparer comparer

IComparer object for method of comparison