Export (0) Print
Expand All
4 out of 8 rated this helpful - Rate this topic

StreamReader Members

Implements a TextReader that reads characters from a byte stream in a particular encoding.

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

  Name Description
Public method Supported by the .NET Compact Framework StreamReader Overloaded. Initializes a new instance of the StreamReader class for the specified stream.
Top
  Name Description
Public field Static Supported by the .NET Compact Framework Null A StreamReader object around an empty stream.
Top
  Name Description
Public property Supported by the .NET Compact Framework BaseStream Returns the underlying stream.
Public property Supported by the .NET Compact Framework CurrentEncoding Gets the current character encoding that the current StreamReader object is using.
Public property Supported by the .NET Compact Framework EndOfStream Gets a value that indicates whether the current stream position is at the end of the stream.
Top
(see also Protected Methods )
  Name Description
Public method Supported by the .NET Compact Framework Close Overridden. Closes the StreamReader object and the underlying stream, and releases any system resources associated with the reader.
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 DiscardBufferedData Allows a StreamReader object to discard its current data.
Public method Supported by the .NET Compact Framework Dispose Overloaded.  
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method Supported by the .NET Compact Framework 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.)
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 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 Peek Overridden. Returns the next available character but does not consume it.
Public method Supported by the .NET Compact Framework Read Overloaded. Overridden. Reads the next character or next set of characters from the input stream.
Public method Supported by the .NET Compact Framework ReadBlock  Reads a maximum of count characters from the current stream and writes the data to buffer, beginning at index. (Inherited from TextReader.)
Public method Supported by the .NET Compact Framework ReadLine Overridden. Reads a line of characters from the current stream and returns the data as a string.
Public method Supported by the .NET Compact Framework ReadToEnd Overridden. Reads the stream from the current position to the end of the stream.
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 Synchronized  Creates a thread-safe wrapper around the specified TextReader. (Inherited from TextReader.)
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top
  Name Description
Protected method Supported by the .NET Compact Framework Dispose Overloaded. Overridden.  
Protected method Supported by the .NET Compact 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
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.