RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TRIO.Destroy Destructor

Destroys the instance of a TRIO object.

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

There is no need to explicitly free a TRIO instance. 

If the TRIO object is created with an Owner, then that Owner handles the freeing of the TRIO instance. If the TRIO object is created without an Owner, then it is automatically freed when the reference count on its interface drops to zero. 

 

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