API:FireDAC.Stan.Util.TFDFileStream.Destroy

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TFDFileStream(void);

Properties

Type Visibility Source Unit Parent
destructor public
FireDAC.Stan.Util.pas
FireDAC.Stan.Util.hpp
FireDAC.Stan.Util TFDFileStream

Description

Destroys an instance of TFileStream.

FireDAC.Stan.Util.TFDFileStream.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.

See Also