XmlReader::Read Method
Silverlight
When overridden in a derived class, reads the next node from the stream.
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Return Value
Type: System::Booleantrue if the next node was read successfully; false if there are no more nodes to read.
| Exception | Condition |
|---|---|
| XmlException | An error occurred while parsing the XML. |
When an XmlReader is first created and initialized, there is no information available. You must call Read to read the first node.
This method requires at least four bytes from the data stream in order to begin parsing. If fewer than four bytes are returned and there is no more data in the stream, the method will fail. If there is more data in the stream, the method will block parsing until receipt of the fourth byte.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Community Additions
ADD
Show: