XmlDocument.Name XmlDocument.Name XmlDocument.Name XmlDocument.Name Property

定義

取得節點的限定名稱。Gets the qualified name of the node.

public:
 virtual property System::String ^ Name { System::String ^ get(); };
public override string Name { get; }
member this.Name : string
Public Overrides ReadOnly Property Name As String

屬性值

對於 XmlDocument 節點,名稱為 #document。For XmlDocument nodes, the name is #document.

備註

傳回的名稱需視節點NodeType的而定。The name returned depends on the NodeType of the node. 若要查看描述針對每個節點類型傳回之名稱的資料表, 請參閱Name XmlNode類別中的屬性。To see a table describing the name returned for each of the node types, see the Name property in the XmlNode class.

適用於