Share via


Document.XMLShowAdvancedErrors Property (2007 System)

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

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public Property XMLShowAdvancedErrors As Boolean
'Usage
Dim instance As Document 
Dim value As Boolean 

value = instance.XMLShowAdvancedErrors

instance.XMLShowAdvancedErrors = value
[BrowsableAttribute(false)]
public bool XMLShowAdvancedErrors { get; set; }
[BrowsableAttribute(false)]
public:
property bool XMLShowAdvancedErrors {
    bool get ();
    void set (bool value);
}
public function get XMLShowAdvancedErrors () : boolean 
public function set XMLShowAdvancedErrors (value : boolean)

Property Value

Type: System.Boolean
true if error message text is generated from the MSXML 5.0 component; otherwise, false.

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.

.NET Framework Security

See Also

Reference

Document Class

Document Members

Microsoft.Office.Tools.Word Namespace