API:SimpleDS.TSimpleDataSet.Destroy

From RAD Studio API Documentation

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TSimpleDataSet(void);

Properties

Type Visibility Source Unit Parent
destructor public
SimpleDS.pas
SimpleDS.hpp
SimpleDS TSimpleDataSet

Description

Destroys the instance of a client dataset component. {{#multireplace:SimpleDS.TSimpleDataSet.Destroy|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Datasnap.DBClient.TCustomClientDataSet.Destroy|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Datasnap.DBClient.TCustomClientDataSet.Destroy|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

Destroys the instance of a client dataset component.

Do not call Destroy directly in an application. Usually destruction of datasets is handled automatically. If an application creates its own instances of a dataset without assigning an Owner, however, it should call Free, which verifies that the dataset component is not nil before calling Destroy.

See Also