System::Xml::XPath::XPathNavigator::LookupPrefix method

XPathNavigator::LookupPrefix method

Returns the prefix declared for the specified namespace URI.

String System::Xml::XPath::XPathNavigator::LookupPrefix(const String &namespaceURI) override
ParameterTypeDescription
namespaceURIconst String&The namespace URI to resolve for the prefix.

ReturnValue

A String that contains the namespace prefix assigned to the namespace URI specified; otherwise, String::Empty if no prefix is assigned to the namespace URI specified. The String returned is atomized.

See Also