語言

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

將代表從召喚名單中移除。

傳回

那位被從召喚名單中移除的代表。

屬性

適用於