RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomVariantType.VarDataClear Method

Clears the data from a built-in Variant type.

Pascal
procedure VarDataClear(var Dest: TVarData);
C++
__fastcall VarDataClear(TVarData Dest);

Call VarDataClear from the implementation of a TCustomVariantType descendant to clear the data in the TVarData record of a Variant. Do not use VarDataClear as the entire implementation of the Clear method, as this will lead to a circular reference. 

Dest is the TVarData record of a Variant type, and returns the result after clearing the data. 

 

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