EventTargetRemoveEventListener Method (String, IEventListener)
This method allows the removal of event listeners from the event target. If an IEventListener is removed from an EventTarget while it is processing an event, it will not be triggered by the current actions. Event Listeners can never be invoked after being removed.

Namespace: Aspose.Html.Dom
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 20.11
Syntax
public void RemoveEventListener(
	string type,
	IEventListener listener
)

Parameters

type
Type: SystemString
Specifies the event type of the IEventListener being removed.
listener
Type: Aspose.Html.Dom.EventsIEventListener
The IEventListener parameter indicates the IEventListener to be removed.

Implements

IEventTargetRemoveEventListener(String, IEventListener)
See Also