StreamReader Constructor
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Initializes a new instance of the StreamReader class for the specified stream.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
StreamReader(Stream) | Initializes a new instance of the StreamReader class for the specified stream. |
|
StreamReader(String) | Initializes a new instance of the StreamReader class for the specified file name. |
|
StreamReader(Stream, Boolean) | Initializes a new instance of the StreamReader class for the specified stream, using the specified byte order mark detection option. |
|
StreamReader(Stream, Encoding) | Initializes a new instance of the StreamReader class for the specified stream, using the specified character encoding. |
|
StreamReader(String, Boolean) | Initializes a new instance of the StreamReader class for the specified file name, using the specified byte order mark detection option. |
|
StreamReader(String, Encoding) | Initializes a new instance of the StreamReader class for the specified file name, using the specified character encoding. |
|
StreamReader(Stream, Encoding, Boolean) | Initializes a new instance of the StreamReader class for the specified stream, using the specified character encoding and byte order mark detection option. |
|
StreamReader(String, Encoding, Boolean) | Initializes a new instance of the StreamReader class for the specified file name, using the specified character encoding and byte order mark detection option. |
|
StreamReader(Stream, Encoding, Boolean, Int32) | Initializes a new instance of the StreamReader class for the specified stream, using the specified character encoding, byte order mark detection option, and buffer size. |
|
StreamReader(String, Encoding, Boolean, Int32) | Initializes a new instance of the StreamReader class for the specified file name, using the specified character encoding, byte order mark detection option, and buffer size. |
|
StreamReader(Stream, Encoding, Boolean, Int32, Boolean) | Initializes a new instance of the StreamReader class for the specified stream, using the specified character encoding, byte order mark detection option, buffer size, and a value that specifies whether to leave the stream open. |
Show: