DataColumnCollection::Remove Method (String^)
.NET Framework (current version)
Removes the DataColumn object that has the specified name from the collection.
Assembly: System.Data (in System.Data.dll)
Parameters
- name
-
Type:
System::String^
The name of the column to remove.
| Exception | Condition |
|---|---|
| ArgumentException | The collection does not have a column with the specified name. |
If the collection is successfully changed by adding or removing columns, the CollectionChanged event occurs.
.NET Framework
Available since 1.1
Available since 1.1
Show: