IBX.IBCustomDataSet.TIBDataSet.Destroy
Delphi
destructor Destroy; override;
C++
__fastcall virtual ~TIBDataSet(void);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| destructor | public | IBX.IBCustomDataSet.pas IBX.IBCustomDataSet.hpp |
IBX.IBCustomDataSet | TIBDataSet |
Description
Destroys the instance of a dataset component. {{#multireplace:IBX.IBCustomDataSet.TIBDataSet.Destroy|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:IBX.IBCustomDataSet.TIBCustomDataSet.Destroy|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:IBX.IBCustomDataSet.TIBCustomDataSet.Destroy|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
Destroys the instance of a dataset component.
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, the application should call Free, which verifies that the dataset component is not already freed before calling Destroy.
Destroy performs the following tasks:
- Frees the associated query objects.
- Frees the base object.
- Frees the associated internal resources.