INotifyCollectionChanged.CollectionChanged 事件

定義

當集合變更時發生。Occurs when the collection changes.

public:
 event System::Collections::Specialized::NotifyCollectionChangedEventHandler ^ CollectionChanged;
event System.Collections.Specialized.NotifyCollectionChangedEventHandler CollectionChanged;
event System.Collections.Specialized.NotifyCollectionChangedEventHandler? CollectionChanged;
member this.CollectionChanged : System.Collections.Specialized.NotifyCollectionChangedEventHandler 
Event CollectionChanged As NotifyCollectionChangedEventHandler 

事件類型

NotifyCollectionChangedEventHandler

備註

事件處理常式會接收類型的引數 NotifyCollectionChangedEventArgs ,其中包含與這個事件相關的資料。The event handler receives an argument of type NotifyCollectionChangedEventArgs,which contains data that is related to this event.

適用於