This documentation is archived and is not being maintained.

XPathNamespaceScope Enumeration

Defines the namespace scope. The enumeration can be passed to the XPathNavigator.MoveToFirstNamespace and XPathNavigator.MoveToNextNamespace methods to specify the type of namespace node to move to.

[Visual Basic]
<Serializable>
Public Enum XPathNamespaceScope
[C#]
[Serializable]
public enum XPathNamespaceScope
[C++]
[Serializable]
__value public enum XPathNamespaceScope
[JScript]
public
   Serializable
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, which 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.

Requirements

Namespace: System.Xml.XPath

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

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

See Also

System.Xml.XPath Namespace

Show: