共用方式為


IComponent.Disposed 事件

命名空間:  Microsoft.ReportingServices.RdlObjectModel
組件:  Microsoft.ReportingServices.Designer.Controls (在 Microsoft.ReportingServices.Designer.Controls.dll 中)

語法

'宣告
Private Event Disposed As EventHandler Implements IComponent.Disposed
'用途
Dim instance As ReportObject
Dim handler As EventHandler

AddHandler CType(instance, IComponent).Disposed, handler
event EventHandler IComponent.Disposed
private:
virtual  event EventHandler^ Disposed {
    void add (EventHandler^ value);
    void remove (EventHandler^ value);
}
private abstract Disposed : IEvent<EventHandler,
    EventArgs>
private override Disposed : IEvent<EventHandler,
    EventArgs>
JScript 支援事件的使用,但不支援新事件的宣告。

實作

IComponent. . :: . .Disposed