XmlDocument.LocalName XmlDocument.LocalName XmlDocument.LocalName XmlDocument.LocalName Property

定義

取得節點的區域名稱。Gets the local name of the node.

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

屬性值

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

備註

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

適用於