System::Xml::XmlTextReader::GetNamespacesInScope method

XmlTextReader::GetNamespacesInScope method

Returns a collection that contains all namespaces currently in-scope.

SharedPtr<Collections::Generic::IDictionary<String, String>> System::Xml::XmlTextReader::GetNamespacesInScope(XmlNamespaceScope scope) override
ParameterTypeDescription
scopeXmlNamespaceScopeAn XmlNamespaceScope value that specifies the type of namespace nodes to return.

ReturnValue

An IDictionary object that contains all the current in-scope namespaces. If the reader is not positioned on an element, an empty dictionary (no namespaces) is returned.

See Also