DataColumnCollection
Source: aspose.
DataColumn collection.
Methods
add(dataColumn) → Number
Add the dataColumn in the collection.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
dataColumn |
|
- Returns
-
Number
clear()
Removes all elements from collection.
get(index) → DataColumn
Gets the element at the specified index.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
index |
Number |
|
- Returns
getCount()
Gets the number of elements actually contained in the collection.
getSortAsc()
Whether to sort the SortColumn column in ascending (1) or descending (0) order. The value of the property is BOOL integer constant.
getSortColumn()
The column on which to sort the data.
isExist(index) → boolean
Is exist item in the collection.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
index |
Number |
|
index of element. |
- Returns
-
boolean
iterator() → Iterator
Supports a simple iteration over a nongeneric collection.
- Returns
-
Iterator
remove(dataColumn)
Remove the dataColumn from the collection.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
dataColumn |
|
setSortAsc()
Whether to sort the SortColumn column in ascending (1) or descending (0) order. The value of the property is BOOL integer constant.
setSortColumn()
The column on which to sort the data.