Επεξεργασία

Κοινή χρήση μέσω


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);
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

The object that owns the event.

value
Delegate

The delegate to remove from the list.

Applies to