Class DataColumnCollection

DataColumnCollection class

DataColumn collection.

public class DataColumnCollection : Collection

Properties

NameDescription
Count { get; }Gets the number of elements actually contained in the collection.
Item { get; }Gets the element at the specified index.
SortAsc { get; set; }Whether to sort the SortColumn column in ascending (1) or descending (0) order.
SortColumn { get; set; }The column on which to sort the data.

Methods

NameDescription
Add(DataColumn)Add the dataColumn in the collection.
Clear()Removes all elements from collection.
GetEnumerator()Supports a simple iteration over a nongeneric collection.
IsExist(int)Is exist item in the collection.
Remove(DataColumn)Remove the dataColumn from the collection.

See Also