共用方式為


EventHandlerList.RemoveHandler(Object, Delegate) 方法

定義

將委派從清單移除。

public:
 void RemoveHandler(System::Object ^ key, Delegate ^ value);
public void RemoveHandler (object key, Delegate? value);
public void RemoveHandler (object key, Delegate value);
member this.RemoveHandler : obj * Delegate -> unit
Public Sub RemoveHandler (key As Object, value As Delegate)

參數

key
Object

擁有事件的物件。

value
Delegate

要從清單移除的委派。

適用於