Partilhar via


Document.XMLHideNamespaces Property

Gets a value that indicates whether to hide the XML namespaces in the list of elements in the XML Structure task pane.

Namespace:  Microsoft.Office.Tools.Word
Assemblies:   Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

Syntax

'Declaration
Property XMLHideNamespaces As Boolean
bool XMLHideNamespaces { get; set; }

Property Value

Type: System.Boolean
true if the XML schema namespace for elements is not shown to the right of the element name; false if the XML schema namespace is shown.

Remarks

Setting this property to false might be helpful when multiple schemas that contain similar or identical element names are attached to the same document.

.NET Framework Security

See Also

Reference

Document Interface

Microsoft.Office.Tools.Word Namespace