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

定义

将委托添加到源自 COM 对象的事件的调用列表。

public:
 static void Combine(System::Object ^ rcw, Guid iid, int dispid, Delegate ^ d);
[System.Security.SecurityCritical]
public static void Combine (object rcw, Guid iid, int dispid, Delegate d);
public static void Combine (object rcw, Guid iid, int dispid, Delegate d);
[<System.Security.SecurityCritical>]
static member Combine : obj * Guid * int * Delegate -> unit
static member Combine : obj * Guid * int * Delegate -> unit
Public Shared Sub Combine (rcw As Object, iid As Guid, dispid As Integer, d As Delegate)

参数

rcw
Object

触发事件的 COM 对象,调用方希望响应这些事件。

iid
Guid

COM 对象用来触发事件的源接口的标识符。

dispid
Int32

源接口上的方法的调度标识符。

d
Delegate

要在激发 COM 事件时调用的委托。

属性

适用于