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 */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | REST.JsonReflect.pas REST.JsonReflect.hpp |
REST.JsonReflect | TJSONUnMarshal |
Description
The SetField method sets the specified object Field
of Data
with the given Value
.
Three different overloaded methods are available for three different types of Value: string, Boolean and TObject.