RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCollection.Destroy Destructor

Destroys the collection and each item in it.

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

Destroy calls the Clear method to free each item referenced in the Items array, then destroys the collection itself. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!