Creates a new instance of the StreamReader class for the specified stream.
Creates a new instance of the StreamReader class for the specified stream.
[Visual Basic] Overloads Public Sub New(Stream)
[C#] public StreamReader(Stream);
[C++] public: StreamReader(Stream*);
[JScript] public function StreamReader(Stream);
Creates a new instance of the StreamReader class for the specified stream and with the specified character encoding.
[Visual Basic] Overloads Public Sub New(Stream, Encoding)
[C#] public StreamReader(Stream, Encoding);
[C++] public: StreamReader(Stream*, Encoding);
[JScript] public function StreamReader(Stream, Encoding);
Creates a new instance of the StreamReader class for the specified stream, with the specified character encoding and buffer size.
[Visual Basic] Overloads Public Sub New(Stream, Encoding, Integer)
[C#] public StreamReader(Stream, Encoding, int);
[C++] public: StreamReader(Stream*, Encoding, int);
[JScript] public function StreamReader(Stream, Encoding, int);
Creates a new StreamReader for the given stream, with the specified character encoding and buffer size. This constructor automatically detects UTF-8, little endian Unicode, and big endian Unicode text.
[Visual Basic] Overloads Public Sub New(Stream, Encoding, Integer, Boolean)
[C#] public StreamReader(Stream, Encoding, int, bool);
[C++] public: StreamReader(Stream*, Encoding, int, bool);
[JScript] public function StreamReader(Stream, Encoding, int, Boolean);
Creates a new instance of the StreamReader class on the specified path.
[Visual Basic] Overloads Public Sub New(String)
[C#] public StreamReader(String);
[C++] public: StreamReader(String*);
[JScript] public function StreamReader(String);
Creates a new instance of the StreamReader class on the specified path and with the specified character encoding.
[Visual Basic] Overloads Public Sub New(String, Encoding)
[C#] public StreamReader(String, Encoding);
[C++] public: StreamReader(String*, Encoding);
[JScript] public function StreamReader(String, Encoding);
Creates a new instance of the StreamReader class on the specified path, with the specified character encoding and buffer size.
[Visual Basic] Overloads Public Sub New(String, Encoding, Integer)
[C#] public StreamReader(String, Encoding, int);
[C++] public: StreamReader(String*, Encoding, int);
[JScript] public function StreamReader(String, Encoding, int);
Creates a new instance of the StreamReader class on the specified path, with the specified character encoding and buffer size. This constructor automatically detects UTF-8, little endian Unicode, and big endian Unicode text.
[Visual Basic] Overloads Public Sub New(String, Encoding, Integer, Boolean)
[C#] public StreamReader(String, Encoding, int, bool);
[C++] public: StreamReader(String*, Encoding, int, bool);
[JScript] public function StreamReader(String, Encoding, int, Boolean);
StreamReader Class | StreamReader Members | System.IO Namespace