| TextReader Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: System.IO
 Syntax
Syntax[SerializableAttribute] public abstract class TextReader : MarshalByRefObject, IDisposable
The TextReader type exposes the following members.
 Methods
Methods| Name | Description | |
|---|---|---|
|  | Dispose | Releases all resources used by the TextReader object. | 
|  | Dispose(Boolean) | Releases the unmanaged resources used by the TextReader and optionally releases the managed resources. | 
|  | Equals(Object) | (Inherited from Object.) | 
|  | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | 
|  | GetType | Gets the Type of the current instance.(Inherited from Object.) | 
|  | MemberwiseClone | Creates a shallow copy of the current Object.(Inherited from Object.) | 
|  | ReadToEnd | Reads all characters from the current position to the end of the TextReader and returns them as one string. | 
|  | ToString | Returns a string that represents the current object.(Inherited from Object.) | 
 Fields
Fields See Also
See Also