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

 

Removes the named event handler.

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^

A reference to the managed code that handles the event.

.NET Framework
Available since 2.0
Return to top
Show: