RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
VarUtils.VariantInit Function

Initializes a variant.

Pascal
procedure VariantInit(var V: TVarData); stdcall;
C++
__stdcall VariantInit(TVarData V);

Use the VariantInit procedure to initialize the variant given through the V parameter.  

VariantInit sets the VType field of V to varEmpty and sets all its bytes to zero. 

 

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