DataRelationCollection.OnCollectionChanging(CollectionChangeEventArgs) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Raises the CollectionChanged event.
protected:
virtual void OnCollectionChanging(System::ComponentModel::CollectionChangeEventArgs ^ ccevent);
protected public:
virtual void OnCollectionChanging(System::ComponentModel::CollectionChangeEventArgs ^ ccevent);
protected virtual void OnCollectionChanging(System.ComponentModel.CollectionChangeEventArgs ccevent);
protected internal virtual void OnCollectionChanging(System.ComponentModel.CollectionChangeEventArgs ccevent);
abstract member OnCollectionChanging : System.ComponentModel.CollectionChangeEventArgs -> unit
override this.OnCollectionChanging : System.ComponentModel.CollectionChangeEventArgs -> unit
Protected Overridable Sub OnCollectionChanging (ccevent As CollectionChangeEventArgs)
Protected Friend Overridable Sub OnCollectionChanging (ccevent As CollectionChangeEventArgs)
- ccevent
- CollectionChangeEventArgs
A CollectionChangeEventArgs that contains the event data.
Raising an event invokes the event handler through a delegate. For an overview, see Handling and Raising Events.
When overriding OnCollectionChanging(CollectionChangeEventArgs) in an inheriting class, make sure that you call the OnCollectionChanging(CollectionChangeEventArgs) method for the base class.
Product | Versions |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: