System::Xml::XPath::XPathNavigator::MoveToAttribute method

XPathNavigator::MoveToAttribute method

Moves the XPathNavigator to the attribute with the matching local name and namespace URI.

virtual bool System::Xml::XPath::XPathNavigator::MoveToAttribute(String localName, String namespaceURI)
ParameterTypeDescription
localNameStringThe local name of the attribute.
namespaceURIStringThe namespace URI of the attribute; nullptr for an empty namespace.

ReturnValue

true if the XPathNavigator is successful moving to the attribute; otherwise, false. If false, the position of the XPathNavigator is unchanged.

See Also