XMLSchemaReferences.AllowSaveAsXMLWithoutValidation Property

Returns a Boolean that represents whether Microsoft Word validates the XML in a document upon saving the document.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Property AllowSaveAsXMLWithoutValidation As Boolean
    Get
    Set
'Usage
Dim instance As XMLSchemaReferences
Dim value As Boolean

value = instance.AllowSaveAsXMLWithoutValidation

instance.AllowSaveAsXMLWithoutValidation = value
bool AllowSaveAsXMLWithoutValidation { get; set; }

Property Value

Type: System.Boolean

Remarks

The AllowSaveAsXMLWithoutValidation property corresponds to the Allow saving as XML even if not valid check box in the XML Options dialog box. True saves without validating the document. False validates the document before saving it.

If the document is not valid, it cannot be saved as XML if this option is set to False.

See Also

Reference

XMLSchemaReferences Interface

XMLSchemaReferences Members

Microsoft.Office.Interop.Word Namespace