EventHandlerList.RemoveHandler(Object, Delegate) EventHandlerList.RemoveHandler(Object, Delegate) EventHandlerList.RemoveHandler(Object, Delegate) EventHandlerList.RemoveHandler(Object, Delegate) Method

Definition

Removes a delegate from the list.

public:
 void RemoveHandler(System::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)

Parameters

key
Object Object Object Object

The object that owns the event.

value
Delegate Delegate Delegate Delegate

The delegate to remove from the list.

Applies to