ISortColumns
Add Method (Int32, OrderBy)
|
Adds a new column to be sorted with the specified key and order.
Namespace:
Spire.Xls.Core
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
SortColumn Add(
int key,
OrderBy orderBy
)
Function Add (
key As Integer,
orderBy As OrderBy
) As SortColumn
SortColumn^ Add(
int key,
OrderBy orderBy
)
abstract Add :
key : int *
orderBy : OrderBy -> SortColumn
Parameters
-
key
-
Type:
System
Int32
The key of the column to be sorted.
-
orderBy
-
Type:
Spire.Xls
OrderBy
The order in which to sort the column.
Return Value
Type:
SortColumn
The SortColumn object with the added column.
See Also