StreamReader Constructor

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.

  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA Framework StreamReader(Stream) Initializes a new instance of the StreamReader class for the specified stream.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework StreamReader(String) Initializes a new instance of the StreamReader class for the specified file name.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework StreamReader(Stream, Boolean) Initializes a new instance of the StreamReader class for the specified stream, with the specified byte order mark detection option.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework StreamReader(Stream, Encoding) Initializes a new instance of the StreamReader class for the specified stream, with the specified character encoding.
Public method Supported by the .NET Compact Framework Supported by the XNA 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.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework StreamReader(String, Encoding) Initializes a new instance of the StreamReader class for the specified file name, with the specified character encoding.
Public method Supported by the .NET Compact Framework Supported by the XNA 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.
Public method Supported by the .NET Compact Framework Supported by the XNA 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.
Public method Supported by the .NET Compact Framework Supported by the XNA 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.
Public method Supported by the .NET Compact Framework Supported by the XNA 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.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft