Sign in Join
FPDoc Onlineexperiment

TFileStream.Destroy destructor

Member of TFileStreampublicIn unit Classes

Destroys the file stream.

Declaration

pascal
destructor Destroy; override

Description

Destroy closes the file (causing possible buffered data to be written to disk) and then calls the inherited destructor.

Do not call destroy directly, instead call the Free method. Destroy does not check whether Self is nil, while Free does.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.