TextReader: ReadToEnd

ReadToEnd

Reads all characters from the current position to the end of the TextReader and returns them as one string.



 Public Function ReadToEnd ( ) As String

Return Values

String -  A string containing all characters from the current position to the end of the TextReader.

Exceptions

ExceptionCondition
ObjectDisposedExceptionThe TextReader is closed.

See Also

Project CorLib Overview

Class TextReader Overview