XPathNodeType 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 XPath node types that can be returned from the XPathNavigator class.
public enum class XPathNodeType
public enum XPathNodeType
type XPathNodeType =
Public Enum XPathNodeType
- Inheritance
Fields
Name | Value | Description |
---|---|---|
Root | 0 | The root node of the XML document or node tree. |
Element | 1 | An element, such as |
Attribute | 2 | An attribute, such as |
Namespace | 3 | A namespace, such as |
Text | 4 | The text content of a node. Equivalent to the Document Object Model (DOM) Text and CDATA node types. Contains at least one character. |
SignificantWhitespace | 5 | A node with white space characters and |
Whitespace | 6 | A node with only white space characters and no significant white space. White space characters are |
ProcessingInstruction | 7 | A processing instruction, such as |
Comment | 8 | A comment, such as |
All | 9 | Any of the XPathNodeType node types. |