Condividi tramite


Evento PropertyExpressionCollection.CollectionChanged

Si verifica quando un elemento della raccolta viene aggiunto, rimosso, o viene modificato.

Spazio dei nomi:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Sintassi

'Dichiarazione
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 non supporta gli eventi.

Implementa

INotifyCollectionChanged.CollectionChanged

Sicurezza di .NET Framework

Vedere anche

Riferimenti

PropertyExpressionCollection Classe

Spazio dei nomi Microsoft.VisualStudio.TestTools.UITesting

NotifyCollectionChangedEventHandler