API:Data.Bind.DBScope.TSubDataSource.Destroy

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TSubDataSource(void);

Properties

Type Visibility Source Unit Parent
destructor public
Data.Bind.DBScope.pas
Data.Bind.DBScope.hpp
Data.Bind.DBScope TSubDataSource

Description

Destroys the instance of a data source component.

Data.Bind.DBScope.TSubDataSource.Destroy inherits from Data.DB.TDataSource.Destroy. All content below this line refers to Data.DB.TDataSource.Destroy.

Destroys the instance of a data source component.

Do not call Destroy directly. Instead, call Free, which checks that the data source reference is not nil before calling Destroy.

Destroy sets OnStateChange to nil (Delphi) or NULL (C++), sets the dataset for the component to nil (Delphi) or NULL (C++), and frees the data link list before calling the inherited destructor for the component.

See Also