_Document.RemoveDocumentInformation Method
Removes sensitive information, properties, comments, and other metadata from a document.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Sub RemoveDocumentInformation ( _
RemoveDocInfoType As WdRemoveDocInfoType _
)
'Usage
Dim instance As _Document
Dim RemoveDocInfoType As WdRemoveDocInfoType
instance.RemoveDocumentInformation(RemoveDocInfoType)
void RemoveDocumentInformation(
WdRemoveDocInfoType RemoveDocInfoType
)
Parameters
- RemoveDocInfoType
Type: Microsoft.Office.Interop.Word.WdRemoveDocInfoType
Specifies what to remove.