API:Bde.DBTables.TBDEDataSet.Destroy

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: destructor
Visibility: public
Source:
Bde.DBTables.pas
Bde.DBTables.hpp
Unit: Bde.DBTables
Parent: TBDEDataSet

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TBDEDataSet();

Description

Destroys the TDataSet instance.

Bde.DBTables.TBDEDataSet.Destroy inherits from Data.DB.TDataSet.Destroy. All content below this line refers to Data.DB.TDataSet.Destroy.

Destroys the TDataSet instance.

Do not call Destroy directly in an application. Usually destruction of datasets is handled automatically by Delphi. If an application creates its own instances of a dataset, however, and does not assign an Owner that is responsible for freeing the dataset, then the application should call Free, which checks that the dataset reference is not nil before calling Destroy.

See Also