_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)

Property XMLSaveDataOnly As Boolean
Dim instance As _Document
Dim value As Boolean

value = instance.XMLSaveDataOnly

instance.XMLSaveDataOnly = value

Property Value

Type: System.Boolean

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.

Community Additions