Data.DBXJSONReflect.TJSONUnMarshal.SetField

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

void __fastcall SetField(System::TObject* Data, System::UnicodeString Field, System::TObject* Value)/* overload */;
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 */;

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Data.DBXJSONReflect.pas
Data.DBXJSONReflect.hpp
Data.DBXJSONReflect TJSONUnMarshal

Description

Sets an object field with the given value.

The SetField method sets an object field with the given TObject value.

You can also use one of the overloads of the SetField method to set the object field to a Boolean or a string value.

See Also