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 介面時,才能使用這個成員。

適用於

另請參閱