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)
Usage
Sub Sub1(Sel As Selection)
End Sub
Dim applicationEvents4_WindowSelectionChangeEventHandler1 As New ApplicationEvents4_WindowSelectionChangeEventHandler(AddressOf Sub1)
Syntax
Public Delegate Sub ApplicationEvents4_WindowSelectionChangeEventHandler( _
<InAttribute()> ByVal Sel As Selection _
)
public delegate void ApplicationEvents4_WindowSelectionChangeEventHandler(
[In] Selection Sel
);
public delegate Void ApplicationEvents4_WindowSelectionChangeEventHandler(
Selection^ Sel
);
public delegate void ApplicationEvents4_WindowSelectionChangeEventHandler(
/*in*/Selection Sel
);
In JScript, you can use the delegates in the .NET Framework, but you cannot define your own.
Parameters
- Sel
The new selection.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000