CsvWriter(Stream, Encoding, Int32, Boolean) - конструктор
Initializes a new instance of the StreamWriter class for the specified stream by using the specified encoding and buffer size, and optionally leaves the stream open.
Пространство имён: Tessa.Platform.IOСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public CsvWriter(
Stream stream,
Encoding? encoding,
int bufferSize,
bool leaveOpen
)
Public Sub New (
stream As Stream,
encoding As Encoding,
bufferSize As Integer,
leaveOpen As Boolean
)
public:
CsvWriter(
Stream^ stream,
Encoding^ encoding,
int bufferSize,
bool leaveOpen
)
new :
stream : Stream *
encoding : Encoding *
bufferSize : int *
leaveOpen : bool -> CsvWriter
Параметры
- stream Stream
- The stream to write to.
- encoding Encoding
- The character encoding to use.
- bufferSize Int32
- The buffer size, in bytes.
- leaveOpen Boolean
- to leave the stream open after the StreamWriter object is disposed; otherwise, .
ArgumentNullException | stream or encoding is . |
ArgumentOutOfRangeException | bufferSize is negative. |
ArgumentException | stream is not writable. |