XmlDocument.LocalName 屬性

定義

取得節點的區域名稱。

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。

備註

傳回的本機名稱取決於 NodeType 節點的 。 若要查看描述針對每個節點類型傳回之本機名稱的資料表,請參閱 LocalName 類別中的 XmlNode 屬性。

適用於