System.Variants.VarTypeIsValidElementType
Delphi
function VarTypeIsValidElementType(const AVarType: TVarType): Boolean;
C++
extern DELPHI_PACKAGE bool __fastcall VarTypeIsValidElementType(const System::Word AVarType);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Variants.pas System.Variants.hpp |
System.Variants | System.Variants |
Description
Indicates whether a Variant type code represents a type that can be used for the elements in a Variant array.
VarTypeIsValidElementType indicates whether AVarType is the type code for a Variant type that can represent the elements of a Variant array. Unlike the VarTypeIsValidArrayType function, this function returns true for custom Variant types.