XPathNamespaceScope Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the namespace scope.
public enum class XPathNamespaceScope
public enum XPathNamespaceScope
type XPathNamespaceScope =
Public Enum XPathNamespaceScope
- Inheritance
Fields
Name | Value | Description |
---|---|---|
All | 0 | Returns all namespaces defined in the scope of the current node. This includes the |
ExcludeXml | 1 | Returns all namespaces defined in the scope of the current node, excluding the |
Local | 2 | Returns all namespaces that are defined locally at the current node. |
Remarks
The XPathNamespaceScope enumeration can be passed to the MoveToFirstNamespace and MoveToNextNamespace methods of the XPathNavigator class to specify the type of namespace node to move to.