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. 

 

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