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.

StreamReader Constructor

Initializes a new instance of the StreamReader class for the specified stream.

Name Description
StreamReader (Stream) Initializes a new instance of the StreamReader class for the specified stream.

Supported by the .NET Compact Framework.

StreamReader (String) Initializes a new instance of the StreamReader class for the specified file name.

Supported by the .NET Compact Framework.

StreamReader (Stream, Boolean) Initializes a new instance of the StreamReader class for the specified stream, with the specified byte order mark detection option.

Supported by the .NET Compact Framework.

StreamReader (Stream, Encoding) Initializes a new instance of the StreamReader class for the specified stream, with the specified character encoding.

Supported by the .NET Compact Framework.

StreamReader (String, Boolean) Initializes a new instance of the StreamReader class for the specified file name, with the specified byte order mark detection option.

Supported by the .NET Compact Framework.

StreamReader (String, Encoding) Initializes a new instance of the StreamReader class for the specified file name, with the specified character encoding.

Supported by the .NET Compact Framework.

StreamReader (Stream, Encoding, Boolean) Initializes a new instance of the StreamReader class for the specified stream, with the specified character encoding and byte order mark detection option.

Supported by the .NET Compact Framework.

StreamReader (String, Encoding, Boolean) Initializes a new instance of the StreamReader class for the specified file name, with the specified character encoding and byte order mark detection option.

Supported by the .NET Compact Framework.

StreamReader (Stream, Encoding, Boolean, Int32) Initializes a new instance of the StreamReader class for the specified stream, with the specified character encoding, byte order mark detection option, and buffer size.

Supported by the .NET Compact Framework.

StreamReader (String, Encoding, Boolean, Int32) Initializes a new instance of the StreamReader class for the specified file name, with the specified character encoding, byte order mark detection option, and buffer size.

Supported by the .NET Compact Framework.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft