DataSorter.AddKey
Contents
[
Hide
]AddKey(int, SortOrder)
Adds sorted column index and sort order.
public void AddKey(int key, SortOrder order)
Parameter | Type | Description |
---|---|---|
key | Int32 | The sorted column index(absolute position, column A is 0, B is 1, …) |
order | SortOrder | The sort order |
See Also
- enum SortOrder
- class DataSorter
- namespace Aspose.Cells
- assembly Aspose.Cells
AddKey(int, SortOrder, string)
Adds sorted column index and sort order with custom sort list.
public void AddKey(int key, SortOrder order, string customList)
Parameter | Type | Description |
---|---|---|
key | Int32 | The sorted column index(absolute position, column A is 0, B is 1, …) |
order | SortOrder | The sort order. |
customList | String | The custom sort list. |
See Also
- enum SortOrder
- class DataSorter
- namespace Aspose.Cells
- assembly Aspose.Cells
AddKey(int, SortOnType, SortOrder, object)
Adds sorted column index and sort order with custom sort list.
public void AddKey(int key, SortOnType type, SortOrder order, object customList)
Parameter | Type | Description |
---|---|---|
key | Int32 | The sorted column index(absolute position, column A is 0, B is 1, …) |
type | SortOnType | The sorted value type. |
order | SortOrder | The sort order. |
customList | Object | The custom sort list. |
Remarks
If type is SortOnType.CellColor or SortOnType.FontColor, the customList is Color.
See Also
- enum SortOnType
- enum SortOrder
- class DataSorter
- namespace Aspose.Cells
- assembly Aspose.Cells
AddKey(int, SortOrder, string[])
Adds sorted column index and sort order with custom sort list.
public void AddKey(int key, SortOrder order, string[] customList)
Parameter | Type | Description |
---|---|---|
key | Int32 | The sorted column index(absolute position, column A is 0, B is 1, …) |
order | SortOrder | The sort order. |
customList | String[] | The custom sort list. |
See Also
- enum SortOrder
- class DataSorter
- namespace Aspose.Cells
- assembly Aspose.Cells