DK11 for Delphi | GisInternals.GetVariantType | Enums | Fields | Methods | Types
Returns simplified type of provided variant variable.
// Delphi function GetVariantType( const _var : Variant ) : TGIS_VariantType;
// C++ Builder extern DELPHI_PACKAGE TGIS_VariantType* GetVariantType( Variant* const _var );
Name | Type | Description |
---|---|---|
_var | Variant | variant value to be tested |
Type | Description |
---|---|
TGIS_VariantType | Simplified type of provided variant variable. |
Use this function to simplify testing and make it easier for cross-platforms porting. Returned value will group similar variant types. For Example all normal integers like varInteger, varSmallInt, varShortInt will be grouped as TGIS_VariantType.Int.