FireDAC.Stan.Param.TFDMacros.Destroy

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TFDMacros();

Properties

Type Visibility Source Unit Parent
destructor public
FireDAC.Stan.Param.pas
FireDAC.Stan.Param.hpp
FireDAC.Stan.Param TFDMacros

Description

Destroys an instance of TFDMacros.

The TFDMacros object should be destroyed in the destructor of its Owner, where that Owner calls Create from its constructor.

Do not call Destroy directly in an application. Instead, call Free, which verifies if the TFDMacros object is not nil, and only then calls Destroy.

Before calling the inherited destructor, Destroy removes any reference to the TFDMacros object from the source object.

See Also