Share via


_Document.XMLHideNamespaces Property

Returns a Boolean that represents whether to hide the XML namespaces in the list of elements in the XML Structure task pane.

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

Syntax

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

value = instance.XMLHideNamespaces

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

Property Value

Type: System.Boolean

Remarks

This property returns True if the elements with the XML schema namespace for the element to the right of the element name are shown, and False if the XML schema namespace is shown. Set the property value to True or False to enable the corresponding functionality.

Setting the XMLHideNamespaces property to False may be helpful when multiple schemas that contain similar or identical element names are attached to the same document.

See Also

Reference

_Document Interface

_Document Members

Microsoft.Office.Interop.Word Namespace