FireDAC.Comp.DataSet.TFDMasterDataLink.Destroy

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TFDMasterDataLink();

Properties

Type Visibility Source Unit Parent
destructor public
FireDAC.Comp.DataSet.pas
FireDAC.Comp.DataSet.hpp
FireDAC.Comp.DataSet TFDMasterDataLink

Description

Destroys an instance of TMasterDataLink.

FireDAC.Comp.DataSet.TFDMasterDataLink.Destroy inherits from Data.DB.TMasterDataLink.Destroy. All content below this line refers to Data.DB.TMasterDataLink.Destroy.

Destroys an instance of TMasterDataLink.

Applications do not free instances of TMasterDataLink. The dataset that owns the TMasterDataLink instance frees the datalink from its own destructor.

Component writers call the Free method from the destructor of the dataset that owns the TMasterDataLink object. Free checks that the TMasterDataLink reference is not already freed, and only then calls Destroy.

Destroy frees up the memory used to manage the list of field components.

See Also