This documentation is archived and is not being maintained.
.NET Framework 2.0
Implements a TextReader that reads from a string.
The following tables list the members exposed by the StringReader type.
(see also Protected Methods )
|Close||Overridden. Closes the StringReader.|
|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.)|
|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||Overridden. Returns the next available character but does not consume it.|
|Read||Overloaded. Overridden. Reads the next character or next set of characters from the input string.|
|ReadBlock||Reads a maximum of count characters from the current stream and writes the data to buffer, beginning at index. (Inherited from TextReader.)|
|ReadLine||Overridden. Reads a line from the underlying string.|
|ReadToEnd||Overridden. Reads the stream as a string, either in its entirety or from the current position to the end of the stream.|
|ReferenceEquals||Determines whether the specified Object instances are the same instance. (Inherited from Object.)|
|Synchronized||Creates a thread-safe wrapper around the specified TextReader. (Inherited from TextReader.)|
|ToString||Returns a String that represents the current Object. (Inherited from Object.)|