Data.DB.TMasterDataLink.Destroy

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TMasterDataLink();

Properties

Type Visibility Source Unit Parent
destructor public
Data.DB.pas
Data.DB.hpp
Data.DB TMasterDataLink

Description

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