When overridden in a derived class, gets the XPathNavigator.Name of the current node without any namespace prefix.
A string that represents the local name or the namespace prefix.
The local name returned depends on the System.Xml.XPath.XPathNodeType of the current node. For example, the local name for the <bk:book> element is book.
The following table lists the value returned by the XPathNavigator.LocalName property, based on the System.Xml.XPath.XPathNodeType of the current node.
XPathNodeType.Element |
The local name of the element. |
XPathNodeType.Attribute |
The local name of the attribute. |
XPathNodeType.Namespace |
The prefix associated with the namespace URI. |
XPathNodeType.ProcessingInstruction |
The target of the processing instruction. |
All other System.Xml.XPath.XPathNodeType nodes |