Click or drag to resize
StreamReader Methods

The StreamReader type exposes the following members.

Methods
  NameDescription
Protected methodDispose
Releases all resources.
(Overrides TextReaderDispose(Boolean).)
Public methodStatic memberNew(Stream)
Returns new instance of stream reader class.
Public methodStatic memberNew(StreamReader)
Returns new instance of stream reader class.
Public methodStatic memberNew(String)
Returns new instance of stream reader class.
Public methodStatic memberNew(Stream, Encoding)
Returns new instance of stream reader class.
Public methodPeek
Returns the next available character but does not consume it.
(Overrides TextReaderPeek.)
Public methodRead
Reads the next character from the input stream and advances the character position by one character.
(Overrides TextReaderRead.)
Public methodReadLine
Reads a line from the underlying string.
(Overrides TextReaderReadLine.)
Public methodReadToEnd
Reads the stream from the current position to the end of the stream.
(Overrides TextReaderReadToEnd.)
Top
See Also