Mono Class Library: Overview

System.IO.TextReader: Members

The members of System.IO.TextReader are listed below.

See Also: Inherited members from System.MarshalByRefObject

Protected Constructors

Constructs a new instance of the System.IO.TextReader class.

Public Fields

static readonly
NullTextReader (null). Provides a System.IO.TextReader with no data to read from.

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.

Explicitly Implemented Interface Members

IDisposable.DisposeDocumentation for this section has not yet been entered.