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.5.0.19
Синтаксис 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
- Тип: System.IOStream
The stream to write to. - encoding
- Тип: System.TextEncoding
The character encoding to use. - bufferSize
- Тип: SystemInt32
The buffer size, in bytes. - leaveOpen
- Тип: SystemBoolean
to leave the stream open after the StreamWriter object is disposed; otherwise, .
Исключения См. также