DataRelationCollection.OnCollectionChanging(CollectionChangeEventArgs) 方法

定义

引发 CollectionChanged 事件。

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

包含事件数据的 CollectionChangeEventArgs

注解

引发事件时,将通过委托调用事件处理程序。 有关概述,请参阅 处理和引发事件

继承者说明

在继承类中重写 OnCollectionChanging(CollectionChangeEventArgs) 时,请确保为基类调用 OnCollectionChanging(CollectionChangeEventArgs) 方法。

适用于

另请参阅