ComEventsHelper.Remove(Object, Guid, Int32, Delegate) Metoda

Definice

Odebere delegáta ze seznamu vyvolání událostí pocházejících z objektu 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

Parametry

rcw
Object

Objekt COM, ke kterému je delegát připojen.

iid
Guid

Identifikátor zdrojového rozhraní používaného objektem COM k aktivaci událostí.

dispid
Int32

Identifikátor odeslání metody ve zdrojovém rozhraní.

d
Delegate

Delegát, který se má odebrat ze seznamu vyvolání.

Návraty

Delegát, který byl odebrán ze seznamu vyvolání.

Atributy

Platí pro