LookupNamespace()

XmlNamespaceManager::LookupNamespace(const String&) method

Returns the namespace URI for the specified prefix.

String System::Xml::XmlNamespaceManager::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

The namespace URI for prefix or nullptr if there is no mapped namespace. The returned string is atomized. For more information on atomized strings, see the XmlNameTable class.

See Also