RemoveEventHandler

Method

Removes eventHandler from the event named eventName on the target object. Equivalent to target.eventName -= eventHandler;

Definition

void RemoveEventHandler(object target, string eventName, Delegate eventHandler)
void RemoveEventHandler(object target, string eventName, Delegate eventHandler)

Parameters

ParameterDescription
object target
string eventName
Delegate eventHandler