Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
LocalName Property

XmlDocument.LocalName Property

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

XNA Framework

Supported in: 3.0, 2.0, 1.0
Show:
© 2015 Microsoft