System.Data.DataColumnCollection.Remove Method

Removes the specified System.Data.DataColumn object from the collection.

Syntax

public void Remove (DataColumn column)

Parameters

column
The System.Data.DataColumn to remove.

Remarks

If the collection is successfully changed by adding or removing columns, the DataColumnCollection.CollectionChanged event occurs.

Requirements

Namespace: System.Data
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0