PropertyValueCollection.OnCollectionChanged 方法

定义

在添加、移除或重新排列集合中的项时引发 CollectionChanged 事件。

protected:
 virtual void OnCollectionChanged(System::Collections::Specialized::NotifyCollectionChangedEventArgs ^ e);
protected virtual void OnCollectionChanged (System.Collections.Specialized.NotifyCollectionChangedEventArgs e);
abstract member OnCollectionChanged : System.Collections.Specialized.NotifyCollectionChangedEventArgs -> unit
override this.OnCollectionChanged : System.Collections.Specialized.NotifyCollectionChangedEventArgs -> unit
Protected Overridable Sub OnCollectionChanged (e As NotifyCollectionChangedEventArgs)

参数

e
NotifyCollectionChangedEventArgs

事件自变量,包含集合中的更改的相关信息。

适用于