HtmlElement.DetachEventHandler(String, EventHandler) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes an event handler from a named event on the HTML Document Object Model (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 handle.
- eventHandler
- EventHandler
The managed code that handles the event.
Applies to
See also
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.