Partager via


ReadOnlyObservableSet<T>.OnCollectionChanged Method

Invoked when the collection is changed.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.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: NotifyCollectionChangedEventArgs

    Arguments of the event being raised, describing the changes made to the set.

.NET Framework Security

See Also

Reference

ReadOnlyObservableSet<T> Class

Microsoft.VisualStudio.Shell Namespace