Click or drag to resize

XsBufferedFileStream.Flush Method (Logic)

X#
Clears buffers for this stream and causes any buffered data to be written to the file, and also clears all intermediate file buffers.

Namespace:  XSharp.IO
Assembly:  XSharp.Core (in XSharp.Core.dll) Version: 2.21
Syntax
 VIRTUAL METHOD Flush(
	lCommit AS LOGIC
) AS VOID
Request Example View Source

Parameters

lCommit
Type: Logic
Remarks
This method overrides the normal behavior of the FileStream class and flushes the cached data to disk before calling the parent Flush() method.
See Also