System.Variant.GetBaseVariant
C++
Variant* GetBaseVariant();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | sysvari.h | System | Variant |
Description
Returns the Variant that is assigned as the value of this Variant, when the type, returned by Type is varVariant.
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 varVariant before calling GetBaseVariant.