Condividi tramite


Evento CollectionChanged

Questa API supporta l'infrastruttura .NET Framework e non può essere utilizzato/a direttamente dal codice.

Spazio dei nomi:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
Public Event CollectionChanged As CollectionChangeEventHandler
'Utilizzo
Dim instance As ModelComponentCollection
Dim handler As CollectionChangeEventHandler

AddHandler instance.CollectionChanged, handler
public event CollectionChangeEventHandler CollectionChanged
public:
 event CollectionChangeEventHandler^ CollectionChanged {
    void add (CollectionChangeEventHandler^ value);
    void remove (CollectionChangeEventHandler^ value);
}
member CollectionChanged : IEvent<CollectionChangeEventHandler,
    CollectionChangeEventArgs>
JScript supporta l'utilizzo di eventi, ma non la dichiarazione di nuovi eventi.