DocumentEvents2.ContentControlBeforeDelete Method
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Sub ContentControlBeforeDelete ( _
OldContentControl As ContentControl, _
InUndoRedo As Boolean _
)
'Usage
Dim instance As DocumentEvents2
Dim OldContentControl As ContentControl
Dim InUndoRedo As Boolean
instance.ContentControlBeforeDelete(OldContentControl, _
InUndoRedo)
void ContentControlBeforeDelete(
ContentControl OldContentControl,
bool InUndoRedo
)
Parameters
- OldContentControl
Type: Microsoft.Office.Interop.Word.ContentControl
- InUndoRedo
Type: System.Boolean