XPathNavigator.LocalName Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

When overridden in a derived class, gets the Name of the current node without any namespace prefix.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property LocalName As String
public abstract string LocalName { get; }

Property Value

Type: System.String
A String that contains the local name of the current node, or String.Empty if the current node does not have a name (for example, text or comment nodes).

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.