[]
Sorts a range of cells in the data model.
public bool Sort(int row, int column, int rowCount, int columnCount, bool byRows, SortInfo[] sortInfo)
Public Function Sort(row As Integer, column As Integer, rowCount As Integer, columnCount As Integer, byRows As Boolean, sortInfo As SortInfo()) As Boolean
Type | Name | Description |
---|---|---|
int | row | Starting sheet row index |
int | column | Starting sheet column index |
int | rowCount | Number of rows in the sheet to sort |
int | columnCount | Number of columns in the sheet to sort |
bool | byRows | Whether the sort should move rows in the range (true) or columns in the range (false) |
SortInfo[] | sortInfo | Array of SortInfo objects containing the column indexes (if byRows is true) or row indexes (if byRows is false) and the order of sorting |
Type | Description |
---|---|
bool |