共用方式為


Disposed 事件

Adds an event handler to listen to the Disposed event on the precedence constraint.

命名空間:  Microsoft.SqlServer.Dts.Runtime
組件:  Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)

語法

'宣告
Public Event Disposed As EventHandler
'用途
Dim instance As PrecedenceConstraint
Dim handler As EventHandler

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

實作

IComponent. . :: . .Disposed