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) Версия: 3.6.0.22
public CsvWriter(
[NotNullAttribute] Stream stream,
[NotNullAttribute] Encoding encoding,
int bufferSize,
bool leaveOpen
)
Public Sub New (
<NotNullAttribute> stream As Stream,
<NotNullAttribute> encoding As Encoding,
bufferSize As Integer,
leaveOpen As Boolean
)
public:
CsvWriter(
[NotNullAttribute] Stream^ stream,
[NotNullAttribute] Encoding^ encoding,
int bufferSize,
bool leaveOpen
)
new :
[<NotNullAttribute>] stream : Stream *
[<NotNullAttribute>] 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. |