共用方式為


ComEventsHelper.Remove(Object, Guid, Int32, Delegate) 方法

定義

從源自 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

要從引動過程清單移除的委派。

傳回

已從引動過程清單移除的委派。

屬性

適用於