System.Rtti.TValue.GetArrayElement
Delphi
function GetArrayElement(Index: Integer): TValue;
C++
TValue __fastcall GetArrayElement(int Index);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | System.Rtti.pas System.Rtti.hpp |
System.Rtti | TValue |
Description
Renvoie un élément du tableau stocké dans l'enregistrement TValue.
Appelez GetArrayElement pour obtenir un élément du tableau stocké dans l'enregistrement TValue. Le paramètre Index spécifie l'index du tableau auquel l'élément est trouvé.
GetArrayElement renvoie un autre TValue qui stocke l'élément récupéré.
Remarque : GetArrayElement déclenche une exception si la valeur stockée dans l'enregistrement TValue n'est pas un tableau.
Voir aussi