This documentation is archived and is not being maintained.
DataColumnCollection::CollectionChanged Event
.NET Framework (current version)
Occurs when the columns collection changes, either by adding or removing a column.
Namespace:
System.DataAssembly:
System.Data (in System.Data.dll)
public:
event CollectionChangeEventHandler^ CollectionChanged {
void add(CollectionChangeEventHandler^ value);
void remove(CollectionChangeEventHandler^ value);
}
Use the Contains and CanRemove methods to determine whether a column exists and can be removed.
The following example adds an event handler for the CollectionChanged event.
No code example is currently available or this language may not be supported.
.NET Framework
Available since 1.1
Return to top