共用方式為


ReadOnlyObservableCollection<T>.OnCollectionChanged 方法

定義

使用提供的引數,引發 CollectionChanged 事件。

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

參數

args
NotifyCollectionChangedEventArgs

所引發事件的引數。

適用於