System.Classes.TStreamWriter.Flush

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Flush; override;

C++

virtual void __fastcall Flush(void);

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Classes.pas
System.Classes.hpp
System.Classes TStreamWriter

Description

Clears buffers and writes buffered data.

Flush clears all TStreamWriter buffers and writes all buffered data to the stream.

This method is functionally identical to the Microsoft .NET method StreamWriter.Flush.

See Also

Code Examples