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

Definizione

Consente di rimuovere un delegato dall'elenco.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)

Parametri

key
Object Object Object Object

Oggetto a cui appartiene l'evento.The object that owns the event.

value
Delegate Delegate Delegate Delegate

Delegato da rimuovere dall'elenco.The delegate to remove from the list.

Si applica a