## XmlNode::GetNamespaceOfPrefix method


查找当前节点作用域内给定前缀的最近的 **xmlns** 声明，并返回声明中的命名空间 URI。

```cpp
virtual String System::Xml::XmlNode::GetNamespaceOfPrefix(String prefix)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 前缀 | String | 您想要查找其命名空间 URI 的前缀。 |

### ReturnValue

指定前缀的命名空间 URI。

## 另见

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