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