RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Variant::GetBaseVariant Method

Returns the System::Variant that is assigned as the value of this System::Variant when Type is varSystem::Variant.

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

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

 

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