Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TextReader Methods

The TextReader type exposes the following members.

  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Close Closes the TextReader and releases any system resources associated with the TextReader.
Public method 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.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Dispose Overloaded. Releases all resources used by the TextReader object.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetType Gets the type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework MemberwiseClone Overloaded.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework 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.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Read Overloaded. Reads data from an input stream.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ReadBlock Reads a maximum of count characters from the current stream, and writes the data to buffer, beginning at index.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ReadLine Reads a line of characters from the current stream and returns the data as a string.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ReadToEnd Reads all characters from the current position to the end of the TextReader and returns them as one string.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Synchronized Creates a thread-safe wrapper around the specified TextReader.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetation Private method Supported by the .NET Compact Framework IDisposable.Dispose For a description of this member, see IDisposable.Dispose.
Top

Community Additions

Show:
© 2014 Microsoft