Mono Class Library: Overview

System.IO.TextReader: Method Members

The methods of System.IO.TextReader are listed below. For a list of all members, see the TextReader Members list.

See Also: Inherited members from System.MarshalByRefObject

Public Methods

Close()
Closes the current System.IO.TextReader instance and releases any system resources associated with it.
Dispose()
Documentation for this section has not yet been entered.
Peek() : int
Reads the next character without changing the state of the reader or the character source.
Read() : int
Reads the next character from the character source and advances the character position by one character.
Read(char[], int, int) : int
Reads at most the specified number of characters from the current character source, and writes them to the provided character array.
ReadBlock(char[], int, int) : int
Reads a specified number of characters from the current stream into a provided character array.
ReadLine() : string
Reads a line of characters from the current character source.
ReadToEnd() : string
Reads all characters from the current position in the character source to the end of the source.
static
Synchronized(TextReader) : TextReader
Creates a thread-safe wrapper around the specified System.IO.TextReader instance.

Protected Methods

Dispose(bool)
Releases the unmanaged resources used by the System.IO.TextReader and optionally releases the managed resources.