Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataColumnCollection::CollectionChanged Event

 

Occurs when the columns collection changes, either by adding or removing a column.

Namespace:   System.Data
Assembly:  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
Show: