LookupPrefix()

IXmlNamespaceResolver::LookupPrefix(const String&) method

Returns the prefix that is mapped to the specified namespace URI.

virtual String System::Xml::IXmlNamespaceResolver::LookupPrefix(const String &namespaceName)=0

Arguments

ParameterTypeDescription
namespaceNameconst String&The namespace URI whose prefix you wish to find.

Return Value

The prefix that is mapped to the namespace URI; nullptr if the namespace URI is not mapped to a prefix.

See Also