DocumentEvents2_ContentControlOnExitEventHandler delegate

Office 2013 and later

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)

'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)

Parameters

ContentControl
Type: Microsoft.Office.Interop.Word.ContentControl
Cancel
Type: System.Boolean
Show: