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

要引发事件的自变量。

适用于