StreamReader Methods |
The StreamReader type exposes the following members.
Name | Description | |
---|---|---|
Dispose |
Releases all resources.
(Overrides TextReaderDispose(Boolean).) | |
New(Stream) |
Returns new instance of stream reader class.
| |
New(StreamReader) |
Returns new instance of stream reader class.
| |
New(String) |
Returns new instance of stream reader class.
| |
New(Stream, Encoding) |
Returns new instance of stream reader class.
| |
Peek |
Returns the next available character but does not consume it.
(Overrides TextReaderPeek.) | |
Read |
Reads the next character from the input stream and advances the character position by one character.
(Overrides TextReaderRead.) | |
ReadLine |
Reads a line from the underlying string.
(Overrides TextReaderReadLine.) | |
ReadToEnd |
Reads the stream from the current position to the end of the stream.
(Overrides TextReaderReadToEnd.) |