Skip to content

TDataSet.Destroy

Free a TDataset instance.

Declaration

Source position: db.pas line 1892

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

Name Description
TDataset.Close Close the dataset.
TDataset.Create Create a new TDataset instance.