System::IO::FileStream::Flush method

FileStream::Flush() method

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

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

See Also

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)
ParameterTypeDescription
flush_to_diskboolTrue to flush all intermediate buffers, otherwise - false.

See Also