XPathNavigator.GetNamespacesInScope Method

Returns the in-scope namespaces of the current node.

Namespace:  System.Xml.XPath
Assembly:  System.Xml.XPath (in System.Xml.XPath.dll)

Syntax

'Declaration
Public Overridable Function GetNamespacesInScope ( _
    scope As XmlNamespaceScope _
) As IDictionary(Of String, String)
public virtual IDictionary<string, string> GetNamespacesInScope(
    XmlNamespaceScope scope
)

Parameters

Return Value

Type: System.Collections.Generic.IDictionary<String, String>
An IDictionary<TKey, TValue> collection of namespace names keyed by prefix.

Implements

IXmlNamespaceResolver.GetNamespacesInScope(XmlNamespaceScope)

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.