Share via


Document.RemoveDocumentInformation(WdRemoveDocInfoType) Method

Definition

Removes metadata, such as properties and comments, 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

One of the WdRemoveDocInfoType values that specifies what information to remove.

Applies to