Name

XPathNodeType — System.Xml.XPath (system.xml.dll) serializable enum 

Synopsis

public enum XPathNodeType {
   Root = 0,
   Element = 1,
   Attribute = 2,
   Namespace = 3,
   Text = 4,
   SignificantWhitespace = 5,
   Whitespace = 6,
   ProcessingInstruction = 7,
   Comment = 8,
   All = 9
}

This enumeration contains the types of nodes that can be listed with the XPathNavigator.NodeType property.

Hierarchy

System.ObjectSystem.ValueTypeSystem.Enum(System.IComparable, System.IFormattable, System.IConvertible)XPathNodeType

Returned By

XPathNavigator.NodeType

Passed To

XPathNavigator.{SelectAncestors( ), SelectChildren( ), SelectDescendants( )}

Get .NET & XML now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.