XmlDocument.LocalName Property

Definition

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

Property Value

For XmlDocument nodes, the local name is #document.

Remarks

The local name returned depends on the NodeType of the node. To see a table describing the local name returned for each of the node types, see the LocalName property in the XmlNode class.

Applies to