Share via


XMLSchemaReferences.AutomaticValidation Property 

Returns a Boolean that represents whether Microsoft Word will validate the XML in a document as a user type.

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.AutomaticValidation

Dim sampleValue As Boolean
xMLSchemaReferences1.AutomaticValidation = sampleValue

Syntax

Property AutomaticValidation() As Boolean
bool AutomaticValidation {get; set;}
property Boolean AutomaticValidation{
    Boolean get();
    Void set(Boolean);
}
public boolean get_AutomaticValidation();
public void set_AutomaticValidation(boolean);
function get AutomaticValidation() : Boolean;
function set AutomaticValidation(Boolean);

Remarks

The AutomaticValidation property corresponds to the Validate document against attached schemas check box in the XML Options dialog box. True indicates that Word performs real-time validation. False disables real-time validation.

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