XmlDocument.LocalName Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the local name of the node.

Namespace:   System.Xml
Assembly:  System.Xml (in System.Xml.dll)

public override string LocalName { get; }

Property Value

Type: System.String

For XmlDocument nodes, the local name is #document.

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.

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Return to top
Show: