System::Xml::XmlNamespaceManager::LookupNamespace method

XmlNamespaceManager::LookupNamespace method

Returns the namespace URI for the specified prefix.

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

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