The
methods
of System.IO.StreamReader are listed below. For a list of all members, see the StreamReader Members list.
See Also: Inherited members from System.IO.TextReader
Public Methods
override | Close()Closes the current instance of System.IO.StreamReader
, releasing any system resources associated with it. |
| DiscardBufferedData()Allows a System.IO.StreamReader
to discard its buffered data. |
override | Peek() : int Returns the next character in the underlying stream
without advancing the position of the System.IO.StreamReader
in the stream. |
override | Read() : int Reads the next
character from the input stream
and advances the character position by one character. |
override | Read(char[], int, int) : intReads a maximum of count
characters from the current stream into buffer,
beginning at index. |
override | ReadLine() : stringReads a line of characters from the current stream and returns
the data as a string. |
override | ReadToEnd() : stringReads the stream from the current position to the
end of the stream. |
Protected Methods