XmlValidatingReader.Read Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Reads the next node from the stream.
public:
override bool Read();
public override bool Read();
override this.Read : unit -> bool
Public Overrides Function Read () As Boolean
Returns
true
if the next node was read successfully; false
if there are no more nodes to read.
Remarks
Note
The XmlValidatingReader class is obsolete in .NET Framework 2.0. You can create a validating XmlReader instance by using the XmlReaderSettings class and the Create method. For more information, see the Remarks section of the XmlReader reference page.
When a reader is first created and initialized, there is no information available. You must call Read
to read the first node.