API:System.Classes.TBufferedFileStream.Destroy
Delphi
destructor Destroy; override;
C++
__fastcall virtual ~TBufferedFileStream(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
destructor | public | System.Classes.pas System.Classes.hpp |
System.Classes | TBufferedFileStream |
Description
Destroys an instance of TFileStream.
System.Classes.TBufferedFileStream.Destroy inherits from System.Classes.TFileStream.Destroy. All content below this line refers to System.Classes.TFileStream.Destroy.
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.