CsvFileOutputRecordStream.AutoFlush
- Aktualisiert2025-07-21
- 1 Minute(n) Lesezeit
CsvFileOutputRecordStream.AutoFlush
Syntax
CsvFileOutputRecordStream.AutoFlush
Data Type
True makes all write operations flush immediately. False allows this stream to buffer write operations for better performance.
Purpose
Set or retrieve the automatic flushing behavior of this CsvFileOutputRecordStream .
Remarks
If AutoFlush is false , this CsvFileOutputRecordStream is free to buffer data to improve performance. If AutoFlush is true , write operations ( CsvFileOutputRecordStream.WriteRecord , CsvFileOutputRecordStream.WriteRecordFrom , and CsvFileOutputRecordStream.WriteLine ) automatically flush before returning, reducing the risk of data loss in the event of a crash or other failure.
Set AutoFlush to true when it is critical that no data be lost in the event of an unexpected crash or internal error. Set AutoFlush to false to achieve better performance. By default AutoFlush is false .