Data.DBXJSONReflect.TJSONUnMarshal.SetField

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

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