## XmlNamespaceManager::GetNamespacesInScope method


Returns a collection of namespace names keyed by prefix which can be used to enumerate the namespaces currently in scope.

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


| Parameter | Type | Description |
| --- | --- | --- |
| scope | XmlNamespaceScope | An enumeration value that specifies the type of namespace nodes to return. |

### ReturnValue

A collection of namespace and prefix pairs currently in scope.

## See Also

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