REST.JsonReflect.TJSONUnMarshal.SetField
Delphi
procedure SetField(Data: TObject; Field: string; Value: string); 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)/* 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.