Specifies the type of node.
Assembly: System.Xml (in System.Xml.dll)
An attribute (for example, id='123' ).
A CDATA section (for example, <![CDATA[my escaped text]]> ).
A comment (for example, <!-- my comment --> ).
A document object that, as the root of the document tree, provides access to the entire XML document.
A document fragment.
The document type declaration, indicated by the following tag (for example, <!DOCTYPE...> ).
An element (for example, <item> ).
An end element tag (for example, </item> ).
Returned when XmlReader gets to the end of the entity replacement as a result of a call to ResolveEntity.
An entity declaration (for example, <!ENTITY...> ).
A reference to an entity (for example, # ).
This is returned by the XmlReader if a Read method has not been called.
A notation in the document type declaration (for example, <!NOTATION...> ).
A processing instruction (for example, <?pi test?> ).
White space between markup in a mixed content model or white space within the xml:space="preserve" scope.
The text content of a node.
White space between markup.
The XML declaration (for example, <?xml version='1.0'?> ).
Available since 8
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 8.1