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)

Syntax

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

value = instance.AutomaticValidation

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

Property Value

Type: System.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.

See Also

Reference

XMLSchemaReferences Interface

XMLSchemaReferences Members

Microsoft.Office.Interop.Word Namespace