_Document.RemoveDocumentInformation(WdRemoveDocInfoType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes sensitive information, properties, comments, and other metadata from a document.
public:
void RemoveDocumentInformation(Microsoft::Office::Interop::Word::WdRemoveDocInfoType RemoveDocInfoType);
public void RemoveDocumentInformation (Microsoft.Office.Interop.Word.WdRemoveDocInfoType RemoveDocInfoType);
abstract member RemoveDocumentInformation : Microsoft.Office.Interop.Word.WdRemoveDocInfoType -> unit
Public Sub RemoveDocumentInformation (RemoveDocInfoType As WdRemoveDocInfoType)
Parameters
- RemoveDocInfoType
- WdRemoveDocInfoType
Specifies what to remove.