Export (0) Print
Expand All

DataColumnCollection Methods

The methods of the DataColumnCollection class are listed here. For a complete list of DataColumnCollection class members, see the DataColumnCollection Members topic.

Public Methods

public methodAdd

Supported by the .NET Compact Framework.

Overloaded. Creates and adds a DataColumn object to the DataColumnCollection.
public methodAddRange

Supported by the .NET Compact Framework.

Copies the elements of the specified DataColumn array to the end of the collection.
public methodCanRemove

Supported by the .NET Compact Framework.

Checks whether a given column can be removed from the collection.
public methodClear

Supported by the .NET Compact Framework.

Clears the collection of any columns.
public methodContains

Supported by the .NET Compact Framework.

Checks whether the collection contains a column with the specified name.
public methodCopyTo (inherited from InternalDataCollectionBase)

Supported by the .NET Compact Framework.

Copies all the elements of the current InternalDataCollectionBase to a one-dimensional Array, starting at the specified InternalDataCollectionBase index.
public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodGetEnumerator (inherited from InternalDataCollectionBase)

Supported by the .NET Compact Framework.

Gets an IEnumerator for the collection.
public methodGetHashCode (inherited from Object)

Supported by the .NET Compact Framework.

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodIndexOf

Supported by the .NET Compact Framework.

Overloaded.
public methodRemove

Supported by the .NET Compact Framework.

Overloaded. Removes a DataColumn object from the collection.
public methodRemoveAt

Supported by the .NET Compact Framework.

Removes the column at the specified index from the collection.
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.

Protected Methods

protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.
protected methodOnCollectionChanged

Supported by the .NET Compact Framework.

Raises the OnCollectionChanged event.
protected methodOnCollectionChanging Raises the OnCollectionChanging event.

See Also

DataColumnCollection Class | System.Data Namespace

Show:
© 2014 Microsoft