Unit 'DB' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TDataSet.Destroy

Free a TDataset instance.

Declaration

Source position: db.pas line 1888

public destructor TDataSet.Destroy; override;

Description

Destroy removes a TDataset instance from memory. It closes the dataset if it was open, clears all internal structures and then calls he inherited destructor.

Errors

An exception may occur during the close operation, in that case, the dataset will not be removed from memory.

See also

TDataset.Close

  

Close the dataset.

TDataset.Create

  

Create a new TDataset instance.


Documentation generated on: Oct 27 2024