System::Xml::XPath::XPathNavigator::GetAttribute method

XPathNavigator::GetAttribute method

Returns the value of the attribute with the specified local name and namespace URI.

virtual String System::Xml::XPath::XPathNavigator::GetAttribute(String localName, String namespaceURI)
ParameterTypeDescription
localNameStringThe local name of the attribute. localName is case-sensitive.
namespaceURIStringThe namespace URI of the attribute.

ReturnValue

A String that contains the value of the specified attribute; String::Empty if a matching attribute is not found, or if the XPathNavigator is not positioned on an element node.

See Also