ComEventsHelper.Combine(Object, Guid, Int32, Delegate) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a delegate to the invocation list of events originating from a COM object.
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)
Parameters
- rcw
- Object
The COM object that triggers the events the caller would like to respond to.
- iid
- Guid
The identifier of the source interface used by the COM object to trigger events.
- dispid
- Int32
The dispatch identifier of the method on the source interface.
- d
- Delegate
The delegate to invoke when the COM event is fired.
- Attributes
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om