Method ReadLine
ReadLine()
Returns the next line of text available from this reader. A line is
represented by zero or more characters followed by '\n'
,
'\r'
, "\r\n"
or the end of the reader. The string does
not include the newline sequence.
Declaration
public override string ReadLine()
Returns
Type | Description |
---|---|
System.String | The contents of the line or |
Overrides
System.IO.TextReader.ReadLine()
Exceptions
Type | Condition |
---|---|
System.IO.IOException | if this reader is disposed or some other I/O error occurs. |