Condividi tramite


Evento ModelComponentCollection.CollectionChanged

Questa API supporta l'infrastruttura SQL Server 2012 e non può essere utilizzata direttamente dal codice.

Occurs when the collection changes.

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.

Vedere anche

Riferimento

ModelComponentCollection Classe

Spazio dei nomi Microsoft.AnalysisServices