DocumentEvents2_ContentControlAfterAddEventHandler Delegate
A Delegate type used to add an event handler for the ContentControlAfterAdd(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_ContentControlAfterAddEventHandler ( _
NewContentControl As ContentControl, _
InUndoRedo As Boolean _
)
'Usage
Dim instance As New DocumentEvents2_ContentControlAfterAddEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void DocumentEvents2_ContentControlAfterAddEventHandler(
ContentControl NewContentControl,
bool InUndoRedo
)
Parameters
- NewContentControl
Type: Microsoft.Office.Interop.Word.ContentControl
- InUndoRedo
Type: System.Boolean