Share via


Document.XMLHideNamespaces Property (2007 System)

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
Assembly:  Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)

Syntax

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

value = instance.XMLHideNamespaces

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

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 Class

Document Members

Microsoft.Office.Tools.Word Namespace