共用方式為


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

Syntax

'Declaration
Public Property XMLHideNamespaces As Boolean
public 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

DocumentBase Class

Microsoft.Office.Tools.Word Namespace