Export (0) Print
Expand All

TextReader Members

Represents a reader that can read a sequential series of characters.

The following tables list the members exposed by the TextReader type.

  Name Description
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework TextReader Initializes a new instance of the TextReader class.
Top

  Name Description
Public field Static Supported by the .NET Compact Framework Supported by the XNA Framework Null Provides a TextReader with no data to read from.
Top

(see also Protected Methods )
  Name Description
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  Overloaded. Determines whether two Object instances are equal. (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)
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 Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Static 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

  Name Description
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework Dispose Overloaded. Releases all resources used by the TextReader object.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework 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)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Overloaded. (inherited from MarshalByRefObject)
Top

Community Additions

ADD
Show:
© 2014 Microsoft