Data.DB.TDataSet.Destroy

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TDataSet();

Properties

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

Description

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