LookupPrefix()

XmlNamespaceManager::LookupPrefix(const String&) method

Finds the prefix declared for the given namespace URI.

String System::Xml::XmlNamespaceManager::LookupPrefix(const String &uri) override

Arguments

ParameterTypeDescription
uriconst String&The namespace to resolve for the prefix.

Return Value

The matching prefix. If there is no mapped prefix, the method returns String::Empty. If a null value is supplied, then nullptr is returned.

See Also