DocumentEvents2_ContentControlOnExitEventHandler Delegate
A Delegate type used to add an event handler for the ContentControlOnExit(ContentControl, Boolean%) event.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub DocumentEvents2_ContentControlOnExitEventHandler ( _
ContentControl As ContentControl, _
<OutAttribute> ByRef Cancel As Boolean _
)
'Usage
Dim instance As New DocumentEvents2_ContentControlOnExitEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void DocumentEvents2_ContentControlOnExitEventHandler(
ContentControl ContentControl,
out bool Cancel
)
Parameters
- ContentControl
Type: Microsoft.Office.Interop.Word.ContentControl
- Cancel
Type: System.Boolean%