ApplicationEvents2_WindowBeforeRightClickEventHandler Delegate
See the description for this event handler in the latest version of the event interface.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)
Usage
Sub Sub1(Sel As Selection, _
Cancel As Boolean)
End Sub
Dim applicationEvents2_WindowBeforeRightClickEventHandler1 As New ApplicationEvents2_WindowBeforeRightClickEventHandler(AddressOf Sub1)
Syntax
Public Delegate Sub ApplicationEvents2_WindowBeforeRightClickEventHandler( _
<InAttribute()> ByVal Sel As Selection, _
<InAttribute()> ByRef Cancel As Boolean _
)
public delegate void ApplicationEvents2_WindowBeforeRightClickEventHandler(
[In] Selection Sel,
[In] ref bool Cancel
);
public delegate Void ApplicationEvents2_WindowBeforeRightClickEventHandler(
Selection^ Sel,
&Boolean Cancel
);
public delegate void ApplicationEvents2_WindowBeforeRightClickEventHandler(
/*in*/Selection Sel,
/*in*/boolean Cancel
);
In JScript, you can use the delegates in the .NET Framework, but you cannot define your own.
Parameters
- Sel
See the description for this event handler parameter in the latest version of the event interface.
- Cancel
See the description for this event handler parameter in the latest version of the event interface.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000