Mono Class Library: System.Xml.XmlTextReader Overview | Members

System.Xml.XmlTextReader.NodeType Property

Gets the System.Xml.XmlNodeType of the current node.

public override XmlNodeType NodeType { get; }

Value

One of the members of the System.Xml.XmlNodeType enumeration representing the type of the current node.

Remarks

This property is read-only.

This property does not return the following System.Xml.XmlNodeType types: Document, DocumentFragment, Entity, EndEntity, or Notation.

Note:

This property overrides XmlReader.NodeType.

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0