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