System.ComponentModel.EventDescriptor.RemoveEventHandler Method

When overridden in a derived class, unbinds the delegate from the component so that the delegate will no longer receive events from the component.

Syntax

public abstract void RemoveEventHandler (object component, Delegate value)

Parameters

component
The component that the delegate is bound to.
value
The delegate to unbind from the component.

Remarks

Typically, this method is implemented through reflection. For more information, see the topics in Reflection.

For more information about delegates, see Events and Delegates.

Requirements

Namespace: System.ComponentModel
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0