System.Rtti.TValue.GetArrayLength

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function GetArrayLength: Integer;

C++

int __fastcall GetArrayLength();

Propriétés

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

Description

Renvoie la taille du tableau stocké dans l'enregistrement TValue.

Appelez GetArrayLength pour obtenir le nombre d'éléments constituant le tableau stocké dans l'enregistrement TValue.

Remarque :  GetArrayLength déclenche une exception si la valeur stockée dans l'enregistrement TValue n'est pas un tableau.

Voir aussi