ComEventsHelper.Combine(Object, Guid, Int32, Delegate) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將委派加入至源自 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 事件時要叫用的委派。
- 屬性