RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Variant::GetBaseVariant Method

Returns the Variant that is assigned as the value of this Variant when Type is varVariant.

Pascal
function GetBaseVariant: Variant*;
C++
__fastcall Variant* GetBaseVariant();

Call GetBaseVariant to remove a level of indirection by accessing a Variant that has been assigned as the value of this Variant. Check the Type method to ensure that the variant is of type var Variant before calling GetBaseVariant. 

 

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