RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TNamedVariantsList.Clear Method

Deletes all the name/Variant pairs from the list.

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

Call Clear to empty the list. Clear frees the memory that the Variants in the list use to store their values as well as the memory used to store the list itself. 

After a call to Clear, the value of the Count property is zero. 

 

Delete 

Variants 

Count

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