LookupNamespace()

XPathNavigator::LookupNamespace(const String&) method

Returns the namespace URI for the specified prefix.

String System::Xml::XPath::XPathNavigator::LookupNamespace(const String &prefix) override

Arguments

ParameterTypeDescription
prefixconst String&The prefix whose namespace URI you want to resolve. To match the default namespace, pass String::Empty.

Return Value

A String that contains the namespace URI assigned to the namespace prefix specified; nullptr if no namespace URI is assigned to the prefix specified. The String returned is atomized.

See Also