Methods
- Add() Creates and adds a DataColumn object to the DataColumnCollection.
-
Add(Data
Column) Creates and adds the specified DataColumn object to the DataColumnCollection. - Add(String) Creates and adds a DataColumn object that has the specified name to the DataColumnCollection.
-
Add(String,
Type) Creates and adds a DataColumn object that has the specified name and type to the DataColumnCollection. -
Add(String,
Type, Creates and adds a DataColumn object that has the specified name, type, and expression to the DataColumnCollection.String) -
Add
Range(Data Copies the elements of the specified DataColumn array to the end of the collection.Column[]) -
Can
Remove(Data Checks whether a specific column can be removed from the collection.Column) - Clear() Clears the collection of any columns.
- Contains(String) Checks whether the collection contains a column with the specified name.
-
Copy
To(Data Copies the entire collection into an existing array, starting at a specified index within the array.Column[], Int32) -
Index
Of(Data Gets the index of a column specified by name.Column) -
Index
Of(String) Gets the index of the column with the specific name (the name is not case sensitive). -
Remove(Data
Column) Removes the specified DataColumn object from the collection. - Remove(String) Removes the DataColumn object that has the specified name from the collection.
-
Remove
At(Int32) Removes the column at the specified index from the collection.
Properties
Events
-
Collection
Changed Occurs when the columns collection changes, either by adding or removing a column.