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.
The XPathNavigator.LookupPrefix(string) method returns the first prefix that matches the namespace URI specified. Multiple prefixes referring to the same namespace URI are not ordered in any particular way, so a particular prefix may not be returned each time when more than one is assigned.
Namespace URI to prefix mappings can change from node to node in an XML document. As a result, the value of the XPathNavigator.LookupPrefix(string) method may not be consistent from one node to the next.