StreamReader(String, Encoding, Boolean, Int32) Constructor |
Initializes a new instance of the CrestronIO.StreamReader class for the specified
file name, with the specified character encoding, byte order mark detection
option, and buffer size.
Namespace: Crestron.SimplSharp.CrestronIOAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic StreamReader(
string path,
Encoding encoding,
bool detectEncodingFromByteOrderMarks,
int bufferSize
)
Parameters
- path String
-
The complete file path to be read.
- encoding Encoding
-
The character encoding to use.
- detectEncodingFromByteOrderMarks Boolean
-
Indicates whether to look for byte order marks at the beginning of the file.
- bufferSize Int32
-
The minimum buffer size, in number of 16-bit characters.
ExceptionsVersion Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also