RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
THTMLItems.Destroy Destructor

Destroys an instance of TList.

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

Do not call Destroy directly. Instead, call Free. Free verifies that the TList reference is not nil, and only then calls Destroy. 

Destroy frees the memory used to store the list of items.

Note: Destroy does not free the memory pointed to by the elements of the list.
 

 

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