Export (0) Print
Expand All

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)

public virtual IDictionary<string, string> GetNamespacesInScope(
	XmlNamespaceScope scope
)

Parameters

scope
Type: System.Xml.XmlNamespaceScope
An XmlNamespaceScope value specifying the namespaces to return.

Return Value

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

Implements

IXmlNamespaceResolver.GetNamespacesInScope(XmlNamespaceScope)

Silverlight

Supported in: 5, 4

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

Community Additions

ADD
Show:
© 2014 Microsoft