ApplicationEvents4_WindowSelectionChangeEventHandler Delegate
A Delegate type used to add an event handler for the WindowSelectionChange event. The WindowSelectionChange event occurs when the selection changes in the active document window.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub ApplicationEvents4_WindowSelectionChangeEventHandler ( _
Sel As Selection _
)
'Usage
Dim instance As New ApplicationEvents4_WindowSelectionChangeEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void ApplicationEvents4_WindowSelectionChangeEventHandler(
Selection Sel
)
Parameters
- Sel
Type: Microsoft.Office.Interop.Word.Selection
The new selection.