Mono Class Library: System.IO.StreamReader Overview | MembersSystem.IO.StreamReader.ReadToEnd Method |
Reads the stream from the current position to the end of the stream. [Edit]
|
A int containing the rest of the stream as a string, from the current position to the end. If the current position is at the end of the stream, returns the empty string (""). [Edit]
Type Reason System.IO.IOException An I/O error occurred. [Edit] OutOfMemoryException There is insufficient memory to allocate a buffer for the returned string. [Edit]
Note:[Edit]This method overrides TextReader.ReadToEnd .
Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0