NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ColumnsCollection CollectionChanged Event

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

The following declaration shows the syntax for a method that handles the CollectionChanged event.

[Visual Basic]
Private Sub ColumnsCollectionName_CollectionChanged( _
   ByVal sender As Object, _
   ByVal e As CollectionChangeEventArgs _
)
[C#]
private void ColumnsCollectionName_CollectionChanged(
   object sender,
   CollectionChangeEventArgs e
);
[C++]
private: void ColumnsCollectionName_CollectionChanged(
   Object* sender,
   CollectionChangeEventArgs* e
);
[JScript]
private ColumnsCollectionName_CollectionChanged(
   sender : Object,
   e : CollectionChangeEventArgs
);

Parameters

sender
The source of the event.
e
A System.ComponentModel.CollectionChangeEventArgs that contains the event data.

Remarks

The Contains and CanRemove methods can be used to determine if a column exists and can be removed.

See Also

ColumnsCollection Class | ColumnsCollection MembersTopic | System.Data Namespace