TextReader Members
Represents a reader that can read a sequential series of characters.
The following tables list the members exposed by the TextReader type.
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| Close | Closes the TextReader and releases any system resources associated with the TextReader. |
| CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) |
| Dispose | Overloaded. Releases all resources used by the TextReader object. |
| Equals | Overloaded. Determines whether two Object instances are equal. (Inherited from Object.) |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
| GetType | Gets the Type of the current instance. (Inherited from Object.) |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
| Peek | Reads the next character without changing the state of the reader or the character source. Returns the next available character without actually reading it from the input stream. |
| Read | Overloaded. Reads data from an input stream. |
| ReadBlock | Reads a maximum of count characters from the current stream and writes the data to buffer, beginning at index. |
| ReadLine | Reads a line of characters from the current stream and returns the data as a string. |
| ReadToEnd | Reads all characters from the current position to the end of the TextReader and returns them as one string. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object.) |
| Synchronized | Creates a thread-safe wrapper around the specified TextReader. |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| Dispose | Overloaded. Releases all resources used by the TextReader object. |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
| MemberwiseClone | Overloaded. (Inherited from MarshalByRefObject.) |