Diese Dokumentation wurde archiviert und wird nicht länger gepflegt.

_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)

Dim _Document1 As _Document

Dim returnValue As Boolean
returnValue = _Document1.XMLHideNamespaces

Dim sampleValue As Boolean
_Document1.XMLHideNamespaces = sampleValue

bool XMLHideNamespaces {get; set;}
public boolean get_XMLHideNamespaces();
public void set_XMLHideNamespaces(boolean);
function get XMLHideNamespaces() : Boolean;
function set XMLHideNamespaces(Boolean);

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms