System.JSON.Builders.TJSONCollectionBuilder.TElements.Add

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function Add(const AValue: string): TElements; overload; inline;
function Add(const AValue: Int32): TElements; overload; inline;
function Add(const AValue: UInt32): TElements; overload; inline;
function Add(const AValue: Int64): TElements; overload; inline;
function Add(const AValue: UInt64): TElements; overload; inline;
function Add(const AValue: Single): TElements; overload; inline;
function Add(const AValue: Double): TElements; overload; inline;
function Add(const AValue: Extended): TElements; overload; inline;
function Add(const AValue: Boolean): TElements; overload; inline;
function Add(const AValue: Char): TElements; overload; inline;
function Add(const AValue: Byte): TElements; overload; inline;
function Add(const AValue: TDateTime): TElements; overload; inline;
function Add(const AValue: TGUID): TElements; overload; inline;
function Add(const AValue: TBytes;  ABinaryType: TJsonBinaryType = TJsonBinaryType.Generic): TElements; overload; inline;
function Add(const AValue: TJsonOid): TElements; overload; inline;
function Add(const AValue: TJsonRegEx): TElements; overload; inline;
function Add(const AValue: TJsonDBRef): TElements; overload; inline;
function Add(const AValue: TJsonCodeWScope): TElements; overload; inline;
function Add(const AValue: TValue): TElements; overload; inline;
function Add(const AValue: TVarRec): TElements; overload; inline;
function Add(const AValue: Variant): TElements; overload; inline;

C++

HIDESBASE TJSONCollectionBuilder::TElements* __fastcall Add(const System::UnicodeString AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TElements* __fastcall Add(const int AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TElements* __fastcall Add(const unsigned AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TElements* __fastcall Add(const __int64 AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TElements* __fastcall Add(const unsigned __int64 AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TElements* __fastcall Add(const float AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TElements* __fastcall Add(const double AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TElements* __fastcall Add(const System::Extended AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TElements* __fastcall Add(const bool AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TElements* __fastcall Add(const System::WideChar AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TElements* __fastcall Add(const System::Byte AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TElements* __fastcall Add(const System::TDateTime AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TElements* __fastcall Add(const GUID &AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TElements* __fastcall Add(const System::DynamicArray<System::Byte> AValue, System::Json::Types::TJsonBinaryType ABinaryType = (System::Json::Types::TJsonBinaryType)(0x0))/* overload */;
HIDESBASE TJSONCollectionBuilder::TElements* __fastcall Add(const System::Json::Types::TJsonOid &AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TElements* __fastcall Add(const System::Json::Types::TJsonRegEx &AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TElements* __fastcall Add(const System::Json::Types::TJsonDBRef &AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TElements* __fastcall Add(const System::Json::Types::TJsonCodeWScope &AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TElements* __fastcall Add(const System::Rtti::TValue &AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TElements* __fastcall Add(const System::TVarRec &AValue)/* overload */;
HIDESBASE TJSONCollectionBuilder::TElements* __fastcall Add(const System::Variant &AValue)/* overload */;

Propriétés

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


Description

Ajoute la valeur spécifiée au tableau JSON, et renvoie cette instance de TElements pour le chaînage de méthode (EN).

Voir aussi