Click or drag to resize

EventSubtraction Operator

The overloaded operator that can be used for simplifying registering event handlers for the DOM event.

Namespace:  DotNetBrowser.Dom.Events
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.25.1
Syntax
C#
public static Event operator -(
	Event node,
	EventHandler<DomEventArgs> handler
)

Parameters

node
Type: DotNetBrowser.Dom.EventsEvent
The custom DOM event.
handler
Type: SystemEventHandlerDomEventArgs
The event handler to unregister from this DOM event.

Return Value

Type: Event
The updated Event instance.
Exceptions
ExceptionCondition
ObjectDisposedExceptionThe IEventTarget has already been disposed.
See Also