Partager via


ReadOnlyObservableSet<T>.CollectionChanged Event

Occurs when an item is added, removed, changed, moved, or the entire set is refreshed.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Event CollectionChanged As NotifyCollectionChangedEventHandler
public event NotifyCollectionChangedEventHandler CollectionChanged
public:
virtual   event NotifyCollectionChangedEventHandler^ CollectionChanged {
    void add (NotifyCollectionChangedEventHandler^ value);
    void remove (NotifyCollectionChangedEventHandler^ value);
}
abstract CollectionChanged : IEvent<NotifyCollectionChangedEventHandler,
    NotifyCollectionChangedEventArgs>
override CollectionChanged : IEvent<NotifyCollectionChangedEventHandler,
    NotifyCollectionChangedEventArgs>
JScript does not support events.

Implements

INotifyCollectionChanged.CollectionChanged

.NET Framework Security

See Also

Reference

ReadOnlyObservableSet<T> Class

Microsoft.VisualStudio.Shell Namespace