XmlTextReader.GetRemainder Method ()
Gets the remainder of the buffered XML.
Assembly: System.Xml (in System.Xml.dll)
Because XmlTextReader does a buffered Read, it must be able to return the remainder of the unused buffer so that no data is lost. This allows protocols (such as multi-part MIME) to package XML in the same stream as other things.
After calling this method, EOF is set to true.
The following example reads the first part of an XML document and then uses GetRemainder to complete reading the document using a second reader.
The example uses the input file tworeads.xml.
Available since 1.1