DataRelationCollection.OnCollectionChanging Method (CollectionChangeEventArgs)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Raises the CollectionChanged event.

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

protected virtual void OnCollectionChanging(
	CollectionChangeEventArgs ccevent
)

Parameters

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 OnCollectionChanging in an inheriting class, make sure that you call the OnCollectionChanging method for the base class.

.NET Framework
Available since 1.1
Return to top
Show: