OnCollectionChanged Method

DataRelationCollection.OnCollectionChanged Method (CollectionChangeEventArgs)


Raises the CollectionChanged event.

Namespace:   System.Data
Assembly:  System.Data (in System.Data.dll)

protected virtual void OnCollectionChanged(
	CollectionChangeEventArgs ccevent


Type: System.ComponentModel.CollectionChangeEventArgs

A CollectionChangeEventArgs that contains the event data.

Raising an event invokes the event handler through a delegate. For an overview, see NIB: Raising an Event.

Notes to Inheritors:

When overriding OnCollectionChanged in an inheriting class, make sure that you call the OnCollectionChanged method for the base class.

.NET Framework
Available since 1.1
Return to top
© 2015 Microsoft