TextReader Members

The following tables list the members exposed by the TextReader type.

Protected Constructors

Name Description
Protected Method TextReader Initializes a new instance of the TextReader class

Public Fields

Name Description
Public Field Static Null Specifies a null stream.

Public Methods

Name Description
Public Method Close Closes the TextReader and releases the system resources it holds.
Public Method Dispose Overloaded. Releases the resources held by a TextReader object.
Public Method Peek Reads the next character without changing the state of the reader or the character source.
Public Method Read Overloaded. Reads characters from the TextReader object.
Public Method ReadLine Reads a line of characters from the current stream and returns the data as a string.

See Also

Reference

TextReader Class
System.Ext.IO Namespace