HtmlElement::DetachEventHandler Method (String^, EventHandler^)

 

Removes an event handler from a named event on the HTML Document Object Model (DOM).

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
void DetachEventHandler(
	String^ eventName,
	EventHandler^ eventHandler
)

Parameters

eventName
Type: System::String^

The name of the event you want to handle.

eventHandler
Type: System::EventHandler^

The managed code that handles the event.

.NET Framework
Available since 2.0
Return to top
Show: