ReadOnlyObservableSet<T>.OnCollectionChanged Method
Invoked when the collection is changed.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Protected Overridable Sub OnCollectionChanged ( _
eventArgs As NotifyCollectionChangedEventArgs _
)
protected virtual void OnCollectionChanged(
NotifyCollectionChangedEventArgs eventArgs
)
protected:
virtual void OnCollectionChanged(
NotifyCollectionChangedEventArgs^ eventArgs
)
abstract OnCollectionChanged :
eventArgs:NotifyCollectionChangedEventArgs -> unit
override OnCollectionChanged :
eventArgs:NotifyCollectionChangedEventArgs -> unit
protected function OnCollectionChanged(
eventArgs : NotifyCollectionChangedEventArgs
)
Parameters
eventArgs
Type: System.Collections.Specialized.NotifyCollectionChangedEventArgsArguments of the event being raised, describing the changes made to the set.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.