ComEventsHelper.Remove(Object, Guid, Int32, Delegate) メソッド

定義

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

パラメーター

rcw
Object

デリゲートがアタッチされている COM オブジェクト。

iid
Guid

イベントを発生させるために COM オブジェクトによって使用されるソース インターフェイスの識別子。

dispid
Int32

ソース インターフェイスのメソッドのディスパッチ識別子。

d
Delegate

呼び出しリストから削除するデリゲート。

戻り値

呼び出しリストから削除されたデリゲート。

属性

適用対象