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

System.Xml.XmlTextReader.GetRemainder Method

Returns the remainder of the buffered XML. [Edit]

public System.IO.TextReader GetRemainder ()

Returns

The System.IO.StringReader attached to the XML. [Edit]

Remarks

This method calls the XmlTextReader.Close method, and then resets the XmlTextReader.ReadState to ReadState.EndOfFile.

Note:

Because System.Xml.XmlTextReader performs a buffered read operation, it must be able to return the remainder of the unused buffer so that no data is lost. For example, this allows protocols (such as multi-part MIME) to package XML in the same stream.

[Edit]

Requirements

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