Flush()

FileStream::Flush() method

Clears this stream’s buffers and writes all buffered data to the underlying file.

void System::IO::FileStream::Flush() override

FileStream::Flush(bool) method

Clears this stream’s buffers and writes all buffered data to the underlying file. Synonym for method Flush().

void System::IO::FileStream::Flush(bool flush_to_disk)

Arguments

ParameterTypeDescription
flush_to_diskboolTrue to flush all intermediate buffers, otherwise - false.

See Also