System.Variants.VarTypeIsValidElementType

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function VarTypeIsValidElementType(const AVarType: TVarType): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall VarTypeIsValidElementType(const System::Word AVarType);

Propriétés

Type Visibilité  Source Unité  Parent
function public
System.Variants.pas
System.Variants.hpp
System.Variants System.Variants

Description

Indique si le code de type d'un Variant représente un type pouvant être utilisé pour les éléments d'un tableau Variant.

VarTypeIsValidElementType indique si AVarType est le code de type d'un Variant pouvant représenter les éléments d'un tableau Variant. A l'inverse de la fonction VarTypeIsValidArrayType, cette fonction renvoie true pour les types Variant personnalisés.

Voir aussi