System.Classes.TFileStream.Destroy
Delphi
destructor Destroy; override;
C++
__fastcall virtual ~TFileStream();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
destructor | public | System.Classes.pas System.Classes.hpp |
System.Classes | TFileStream |
Description
Destroys an instance of TFileStream.
Do not call Destroy directly in an application. Instead, call Free, which checks that the TFileStream reference is not nil and only then calls Destroy.
Destroy closes the Handle for the file stream before freeing the object.