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

System.Xml.XmlReader.Read Method

Moves the position of the current instance to the next node in the stream, exposing its properties. [Edit]

public abstract bool Read ()

Returns

A bool where true indicates the node was read successfully, and false indicates there were no more nodes to read. [Edit]

Exceptions

TypeReason
System.Xml.XmlExceptionAn error occurred while parsing the XML. [Edit]

Remarks

Operation
As described above.

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

Usage
When a reader is first created and initialized, there is no information available. Calling this method is required to read the first node.

[Edit]

Requirements

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