RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomVariantType.VarType Property

Indicates the System::Variant type code for the custom System::Variant type.

Pascal
property VarType: TVarType;
C++
__property TVarType VarType;

The VarType property provides read-only access to the type code that identifies a custom System::Variant data type. 

The value of VarType is set in the constructor. This can be an automatically generated value, or it can be a value explicitly passed to the constructor. Note that if the VarType is automatically-generated, it may not remain the same for every application that uses the custom System::Variant type: its value will depend on the other custom Variants also used in the application. 

 

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