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

要从列表中移除的委托。

适用于