Data.DBXJSONReflect.TJSONUnMarshal.ObjectInstance
[–] Properties | |
---|---|
Type: function | |
Visibility: public | |
Source: Data.DBXJSONReflect.pas Data.DBXJSONReflect.hpp
| |
Unit: Data.DBXJSONReflect | |
Parent: TJSONUnMarshal |
Delphi
class function ObjectInstance(Ctx: TRTTIContext; const TypeName: string): TObject;
C++
__classmethod System::TObject* __fastcall ObjectInstance(System::Rtti::TRttiContext Ctx, const System::UnicodeString TypeName);
Description
Creates a new instance of an object based on the 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.