XmlTextReader.IXmlNamespaceResolver.GetNamespacesInScope 方法

定义

有关此成员的说明,请参见 GetNamespacesInScope(XmlNamespaceScope)

 virtual System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ System.Xml.IXmlNamespaceResolver.GetNamespacesInScope(System::Xml::XmlNamespaceScope scope) = System::Xml::IXmlNamespaceResolver::GetNamespacesInScope;
System.Collections.Generic.IDictionary<string,string> IXmlNamespaceResolver.GetNamespacesInScope (System.Xml.XmlNamespaceScope scope);
abstract member System.Xml.IXmlNamespaceResolver.GetNamespacesInScope : System.Xml.XmlNamespaceScope -> System.Collections.Generic.IDictionary<string, string>
override this.System.Xml.IXmlNamespaceResolver.GetNamespacesInScope : System.Xml.XmlNamespaceScope -> System.Collections.Generic.IDictionary<string, string>
Function GetNamespacesInScope (scope As XmlNamespaceScope) As IDictionary(Of String, String) Implements IXmlNamespaceResolver.GetNamespacesInScope

参数

scope
XmlNamespaceScope

一个 XmlNamespaceScope 值,指定要返回的命名空间节点的类型。

返回

一个包含当前在范围内的命名空间的 IDictionary

实现

注解

此成员是显式接口成员的实现。 它只能在 XmlTextReader 实例被强制转换为 IXmlNamespaceResolver 接口时使用。

适用于

另请参阅