## XmlNamespaceManager::GetNamespacesInScope method


返回一个以前缀为键的命名空间名称集合，可用于枚举当前作用域中的命名空间。

```cpp
SharedPtr<Collections::Generic::IDictionary<String, String>> System::Xml::XmlNamespaceManager::GetNamespacesInScope(XmlNamespaceScope scope) override
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 作用域 | XmlNamespaceScope | 指定要返回的命名空间节点类型的枚举值。 |

### ReturnValue

当前作用域内的命名空间和前缀对集合。

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [IDictionary](../../../system.collections.generic/idictionary/)
* Class [String](../../../system/string/)
* Enum [XmlNamespaceScope](../../xmlnamespacescope/)
* Class [XmlNamespaceManager](../)
* Namespace [System::Xml](../../)
* Library [Aspose.Font for C++](../../../)
