ReadOnlyObservableCollection<T>.OnCollectionChanged(NotifyCollectionChangedEventArgs) 方法

定义

使用提供的自变量引发 CollectionChanged 事件。Raises the CollectionChanged event using the provided arguments.

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

要引发事件的自变量。Arguments of the event being raised.

适用于