System.JSON.TJSONArray.Get

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function Get(const Index: Integer): TJSONValue; inline; deprecated 'Use Items property';

C++

TJSONValue* __fastcall Get _DEPRECATED_ATTRIBUTE1("Use Items property") (const int Index);

Propriétés

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

Description

Avertissement : Get est obsolète. Veuillez utiliser Items.

Renvoie l'élément situé à l'index donné dans le tableau JSON.

Appelez Get pour obtenir l'élément situé à l'index donné par le paramètre Index, dans le tableau JSON.

Si l'index donné est hors limites, Get renvoie une valeur null.

Voir aussi