共用方式為


CollectionChanging 事件

此 API 支援 .NET Framework 結構,但並不是針對直接從程式碼使用而設計。

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public Event CollectionChanging As CollectionChangeEventHandler
'用途
Dim instance As ModelComponentCollection
Dim handler As CollectionChangeEventHandler

AddHandler instance.CollectionChanging, handler
public event CollectionChangeEventHandler CollectionChanging
public:
 event CollectionChangeEventHandler^ CollectionChanging {
    void add (CollectionChangeEventHandler^ value);
    void remove (CollectionChangeEventHandler^ value);
}
member CollectionChanging : IEvent<CollectionChangeEventHandler,
    CollectionChangeEventArgs>
JScript 支援事件的使用,但不支援新事件的宣告。