ComEventsHelper.Remove(Object, Guid, Int32, Delegate) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從源自 COM 物件的事件引動過程清單移除委派。
public:
static Delegate ^ Remove(System::Object ^ rcw, Guid iid, int dispid, Delegate ^ d);
[System.Security.SecurityCritical]
public static Delegate Remove (object rcw, Guid iid, int dispid, Delegate d);
public static Delegate? Remove (object rcw, Guid iid, int dispid, Delegate d);
public static Delegate Remove (object rcw, Guid iid, int dispid, Delegate d);
[<System.Security.SecurityCritical>]
static member Remove : obj * Guid * int * Delegate -> Delegate
static member Remove : obj * Guid * int * Delegate -> Delegate
Public Shared Function Remove (rcw As Object, iid As Guid, dispid As Integer, d As Delegate) As Delegate
參數
- rcw
- Object
委派附加至的 COM 物件。
- iid
- Guid
COM 物件用來觸發事件之來源介面的識別項。
- dispid
- Int32
來源介面上方法的分派識別項。
- d
- Delegate
要從引動過程清單移除的委派。
傳回
已從引動過程清單移除的委派。
- 屬性