ComEventsHelper.Remove(Object, Guid, Int32, Delegate) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從呼叫列表中移除來自 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
將代表從召喚名單中移除。
傳回
那位被從召喚名單中移除的代表。
- 屬性