## XmlNamespaceManager::LookupPrefix method


Finds the prefix declared for the given namespace URI.

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


| Parameter | Type | Description |
| --- | --- | --- |
| uri | const String\& | The namespace to resolve for the prefix. |

### ReturnValue

The matching prefix. If there is no mapped prefix, the method returns [String::Empty](../../../system/string/empty/). If a null value is supplied, then **nullptr** is returned.

## See Also

* Class [String](../../../system/string/)
* Class [XmlNamespaceManager](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PUB for C++](../../../)
