RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TIBCustomDataSet.Destroy Destructor

Destroys the instance of a dataset component.

Pascal
destructor Destroy; override;
C++
virtual __fastcall ~TIBCustomDataSet();

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.

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!