Export (0) Print
Expand All
Expand Minimize

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

'Usage
Dim _Document1 As _Document

Dim returnValue As Boolean
returnValue = _Document1.XMLSaveDataOnly

Dim sampleValue As Boolean
_Document1.XMLSaveDataOnly = sampleValue

bool XMLSaveDataOnly {get; set;}
public boolean get_XMLSaveDataOnly();
public void set_XMLSaveDataOnly(boolean);
function get XMLSaveDataOnly() : Boolean;
function set XMLSaveDataOnly(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.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Community Additions

ADD
Show:
© 2014 Microsoft