System::Xml::XPath::XPathNavigator::LookupNamespace method

XPathNavigator::LookupNamespace method

Returns the namespace URI for the specified prefix.

String System::Xml::XPath::XPathNavigator::LookupNamespace(const String &prefix) override
ParameterTypeDescription
prefixconst String&The prefix whose namespace URI you want to resolve. To match the default namespace, pass String::Empty.

ReturnValue

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