RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TList.Clear Method

Deletes all items from the list.

Pascal
procedure Clear; virtual;
C++
virtual __fastcall Clear();

Call Clear to empty the Items array and set the Count to 0. Clear also frees the memory used to store the Items array and sets the Capacity to 0. 

 

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