Redigera

Dela via


HtmlDocument.DetachEventHandler(String, EventHandler) Method

Definition

Removes an event handler from a named event on the HTML DOM.

public:
 void DetachEventHandler(System::String ^ eventName, EventHandler ^ eventHandler);
public void DetachEventHandler (string eventName, EventHandler eventHandler);
member this.DetachEventHandler : string * EventHandler -> unit
Public Sub DetachEventHandler (eventName As String, eventHandler As EventHandler)

Parameters

eventName
String

The name of the event you want to cease handling.

eventHandler
EventHandler

The managed code that handles the event.

Applies to

See also