REST.JsonReflect.TJSONUnMarshal.SetField

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

procedure SetField(Data: TObject; Field: string; Value: string; IsNum: Boolean); overload;
procedure SetField(Data: TObject; Field: string; Value: Boolean); overload;
procedure SetField(Data: TObject; Field: string; Value: TObject); overload;

C++

void __fastcall SetField(System::TObject* Data, System::UnicodeString Field, System::UnicodeString Value, bool IsNum)/* overload */;
void __fastcall SetField(System::TObject* Data, System::UnicodeString Field, bool Value)/* overload */;
void __fastcall SetField(System::TObject* Data, System::UnicodeString Field, System::TObject* Value)/* overload */;

Propriétés

Type Visibilité  Source Unité  Parent
procedure
function
public
REST.JsonReflect.pas
REST.JsonReflect.hpp
REST.JsonReflect TJSONUnMarshal


Description

La méthode SetField définit l'objet spécifié Field de Data avec la valeur Value donnée.

Pour les trois types distincts de Value, vous disposez des trois méthodes surchargées suivantes : string, Boolean et TObject.

Voir aussi