DataTableCollection Methods
.NET Framework 4.5
The DataTableCollection type exposes the following members.
| Name | Description | |
|---|---|---|
|
Add() | Creates a new DataTable object by using a default name and adds it to the collection. |
|
Add(DataTable) | Adds the specified DataTable to the collection. |
|
Add(String) | Creates a DataTable object by using the specified name and adds it to the collection. |
|
Add(String, String) | Creates a DataTable object by using the specified name and adds it to the collection. |
|
AddRange | Copies the elements of the specified DataTable array to the end of the collection. |
|
CanRemove | Verifies whether the specified DataTable object can be removed from the collection. |
|
Clear | Clears the collection of all DataTable objects. |
|
Contains(String) | Gets a value that indicates whether a DataTable object with the specified name exists in the collection. |
|
Contains(String, String) | Gets a value that indicates whether a DataTable object with the specified name and table namespace exists in the collection. |
|
CopyTo(Array, Int32) | Copies all the elements of the current InternalDataCollectionBase to a one-dimensional Array, starting at the specified InternalDataCollectionBase index. (Inherited from InternalDataCollectionBase.) |
|
CopyTo(DataTable[], Int32) | Copies all the elements of the current DataTableCollection to a one-dimensional Array, starting at the specified destination array index. |
|
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
|
GetEnumerator | Gets an IEnumerator for the collection. (Inherited from InternalDataCollectionBase.) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
IndexOf(DataTable) | Gets the index of the specified DataTable object. |
|
IndexOf(String) | Gets the index in the collection of the DataTable object with the specified name. |
|
IndexOf(String, String) | Gets the index in the collection of the specified DataTable object. |
|
Remove(DataTable) | Removes the specified DataTable object from the collection. |
|
Remove(String) | Removes the DataTable object with the specified name from the collection. |
|
Remove(String, String) | Removes the DataTable object with the specified name from the collection. |
|
RemoveAt | Removes the DataTable object at the specified index from the collection. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |