LookupPrefix()

XPathNavigator::LookupPrefix(const String&) method

Returns the prefix declared for the specified namespace URI.

String System::Xml::XPath::XPathNavigator::LookupPrefix(const String &namespaceURI) override

Arguments

ParameterTypeDescription
namespaceURIconst String&The namespace URI to resolve for the prefix.

Return Value

A String that contains the namespace prefix assigned to the namespace URI specified; otherwise, String::Empty if no prefix is assigned to the namespace URI specified. The String returned is atomized.

See Also