A reference to the handler implementation.
The value of this parameter cannot be null
(Nothing
in Visual Basic).
Links or unlinks a given event source with event handler.
Syntax
Parameters
- link
true
to make the link; false
to break the link.- eventSource
- An event source to be linked.
The value of this parameter cannot be null
(Nothing
in Visual Basic).
- eventHandler
- A reference to the handler implementation.
The value of this parameter cannot be null
(Nothing
in Visual Basic).
Requirements
Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows
See Also