_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
Syntax
Property XMLSaveDataOnly() As Boolean
bool XMLSaveDataOnly {get; set;}
property Boolean XMLSaveDataOnly{
Boolean get();
Void set(Boolean);
}
public boolean get_XMLSaveDataOnly();
public void set_XMLSaveDataOnly(boolean);
function get XMLSaveDataOnly() : Boolean;
function set XMLSaveDataOnly(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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
_Document Interface
Microsoft.Office.Interop.Word Namespace