## XmlNode::GetNamespaceOfPrefix method


Looks up the closest **xmlns** declaration for the given prefix that is in scope for the current node and returns the namespace URI in the declaration.

```cpp
virtual String System::Xml::XmlNode::GetNamespaceOfPrefix(String prefix)
```


| Parameter | Type | Description |
| --- | --- | --- |
| prefix | String | The prefix whose namespace URI you want to find. |

### ReturnValue

The namespace URI of the specified prefix.

## See Also

* Class [String](../../../system/string/)
* Class [XmlNode](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PDF for C++](../../../)
