This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
TextReader Members
Public:
Methods
Close |
Closes the current instance of TextReader and releases any system resources associated with the TextReader. |
Equals (inherited from Object) |
Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality). |
GetHashCode (inherited from Object) |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) |
Gets the Type of the Object. |
Peek |
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. |
Synchronized |
Creates a synchronized wrapper around the specified TextReader. |
ToString (inherited from Object) |
Returns a String that represents the current Object. |
Fields
Null |
Provides a TextReader with no data to read from. |
Protected:
Constructor
TextReader Constructor |
Creates a new instance of the TextReader class, from which a new instance cannot be created. This constructor is for subclassing. |
Methods
Finalize (inherited from Object) |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere. |
MemberwiseClone (inherited from Object) |
Creates a shallow copy of the current Object. |
See Also
TextReader Class | System.IO Namespace