_Document.XMLSaveDataOnly Property
Returns or sets a Boolean that represents whether a document is saved with the XML markup or as text only.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Property XMLSaveDataOnly As Boolean
Get
Set
'Usage
Dim instance As _Document
Dim value As Boolean
value = instance.XMLSaveDataOnly
instance.XMLSaveDataOnly = value
bool XMLSaveDataOnly { get; set; }
Property Value
Type: System.Boolean
Remarks
This property returns True to indicate that Microsoft Word will save a document with custom XML markup and related content only, and False to indicate that Word will save a document with the full XML markup. Set the property value to True or False to enable or disable the functionality.