Moves the System.Xml.XPath.XPathNavigator to the attribute with the matching local name and namespace URI.
Returns true if the System.Xml.XPath.XPathNavigator is successful moving to the attribute; otherwise, false. If false, the position of the System.Xml.XPath.XPathNavigator is unchanged.
If the System.Xml.XPath.XPathNavigator is not currently positioned on an element, this method returns false.
After a successful call to XPathNavigator.MoveToAttribute(string, string), the XPathNavigator.LocalName, XPathNavigator.NamespaceURI and XPathNavigator.Prefix properties reflect the values of the attribute. When the System.Xml.XPath.XPathNavigator is positioned on an attribute, the methods XPathNavigator.MoveToNext, XPathNavigator.MoveToPrevious, and XPathNavigator.MoveToFirst are not applicable. These methods always return false and do not change the position of the navigator. Rather, you can call XPathNavigator.MoveToNextAttribute to move to the next attribute node.
Once positioned on an attribute, you can call XPathNavigator.MoveToParent to move to the owner element.