Share via


_Document.XMLShowAdvancedErrors Property

Returns or sets a Boolean that represents whether error message text is generated from the built-in Microsoft Word error messages or from the Microsoft XML Core Services (MSXML) 5.0 component included with Office.

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

Syntax

'Declaration
Property XMLShowAdvancedErrors As Boolean
    Get
    Set
'Usage
Dim instance As _Document
Dim value As Boolean

value = instance.XMLShowAdvancedErrors

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

Property Value

Type: System.Boolean

Remarks

Using advanced error messages from the MSXML 5.0 component provides more specific error messages. There are approximately 500 error messages provided through the XML Core Services that are accessible when the XMLShowAdvancedErrors property is True.

Word has approximately 50 built-in generic schema errors. When the XMLShowAdvancedErrors property is False, Word uses the built-in error messages for errors generated in XML documents.

See Also

Reference

_Document Interface

_Document Members

Microsoft.Office.Interop.Word Namespace