XPathNamespaceScope Enumeration

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Defines the namespace scope.

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

Syntax

'Declaration
Public Enumeration XPathNamespaceScope
public enum XPathNamespaceScope

Members

Member name Description
All Returns all namespaces defined in the scope of the current node. This includes the xmlns:xml namespace which is always declared implicitly. The order of the namespaces returned is not defined.
ExcludeXml Returns all namespaces defined in the scope of the current node, excluding the xmlns:xml namespace. The xmlns:xml namespace is always declared implicitly. The order of the namespaces returned is not defined.
Local Returns all namespaces that are defined locally at the current node.

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.

See Also

Reference