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

要从调用列表中移除的委托。

返回

已从调用列表中移除的委托。

属性

适用于