Share via


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)

Usage

Dim xMLSchemaReferences1 As XMLSchemaReferences

Dim returnValue As Boolean
returnValue = xMLSchemaReferences1.AllowSaveAsXMLWithoutValidation

Dim sampleValue As Boolean
xMLSchemaReferences1.AllowSaveAsXMLWithoutValidation = sampleValue

Syntax

Property AllowSaveAsXMLWithoutValidation() As Boolean
bool AllowSaveAsXMLWithoutValidation {get; set;}
property Boolean AllowSaveAsXMLWithoutValidation{
    Boolean get();
    Void set(Boolean);
}
public boolean get_AllowSaveAsXMLWithoutValidation();
public void set_AllowSaveAsXMLWithoutValidation(boolean);
function get AllowSaveAsXMLWithoutValidation() : Boolean;
function set AllowSaveAsXMLWithoutValidation(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.

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

XMLSchemaReferences Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

XMLSchemaReferences Members