REST.JsonReflect.TJSONUnMarshal.ObjectInstance
Delphi
class function ObjectInstance(Ctx: TRttiContext; TypeName: string): TObject;
C++
__classmethod System::TObject* __fastcall ObjectInstance(System::Rtti::TRttiContext Ctx, System::UnicodeString TypeName);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | REST.JsonReflect.pas REST.JsonReflect.hpp |
REST.JsonReflect | TJSONUnMarshal |
Description
The ObjectInstance method creates a new instance of an object based on the specified TypeName
.
The ObjectInstance method creates a new instance of an object based on the TypeName
. The Ctx
parameter specifies the run-time context information instance. If the creation fails, ObjectInstance returns nil.