[]
Creates a SortInfo object with the order specified and the comparison done using the system default comparer.
public SortInfo(int index, bool ascending)
Public Sub New(index As Integer, ascending As Boolean)
Type | Name | Description |
---|---|---|
int | index | Index of the column or row on which to sort |
bool | ascending | Whether the sort order is ascending |
Creates a SortInfo object with the order specified and the comparison done according to the specified comparer.
public SortInfo(int index, bool ascending, IComparer comparer)
Public Sub New(index As Integer, ascending As Boolean, comparer As IComparer)