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

System.Xml.XmlReader.NodeType Property

Gets the type of the current node.

public abstract XmlNodeType NodeType { get; }

Value

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

Remarks

Operation

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

This property is read-only.

Note to Inheritors
This property must be overridden in order to provide the functionality described above, as there is no default implementation.

Requirements

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