TextReader: ReadLine |
Reads a line of characters from the current stream and returns the data as a string.
Public Function ReadLine ( ) As String
A line is defined as a sequence of characters followed by a carriage return (0x000d), a line feed (0x000a), a carriage return followed by a line feed, Environment.NewLine, or the end of stream marker. The string that is returned does not contain the terminating carriage return and/or line feed. The returned value is vbNullString if the end of the input stream has been reached.
Exception | Condition |
---|---|
ObjectDisposedException | The TextReader is closed. |