RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMasterDataLink.Destroy Destructor

Destroys an instance of TMasterDataLink.

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

Applications do not free instances of TMasterDataLink. The dataset that owns the TMasterDataLink instance frees the datalink from its own destructor. 

Component writers call the Free method from the destructor of the dataset that owns the TMasterDataLink object. Free checks that the TMasterDataLink reference is not already freed, and only then calls Destroy. 

Destroy frees up the memory used to manage the list of field components. 

 

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