共用方式為


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 事件時要叫用的委派。

屬性

適用於