Mono Class Library: System.IO.TextReader Overview | MembersSystem.IO.TextReader.ReadLine Method |
Reads a line of characters from the current character source. [Edit]
|
A string containing the next line from the input stream, or null if all lines have been read. The returned string does not contain the line terminating character. [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] ArgumentOutOfRangeException The number of characters in the next line is larger than int.MaxValue. [Edit]
A line is defined as a sequence of characters followed by a carriage return (0x000d), a line feed (0x000a), Environment.NewLine, or the end of stream marker.
Operation
As described above. [Edit]
Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0