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.13.0
Syntax 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:
EventThe updated
Event instance.
Exceptions Exception | Condition |
---|
ObjectDisposedException | The IEventTarget has already been disposed. |
See Also