REST.JsonReflect.TJSONUnMarshal.ObjectInstance

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ObjectInstance(const TypeName: string): TObject;

C++

System::TObject* __fastcall ObjectInstance(const 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.

See Also