REST.JsonReflect.TJSONUnMarshal.ObjectInstance

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

class function ObjectInstance(Ctx: TRttiContext; TypeName: string): TObject;

C++

__classmethod System::TObject* __fastcall ObjectInstance(System::Rtti::TRttiContext Ctx, System::UnicodeString TypeName);

Propriétés

Type Visibilité  Source Unité  Parent
function public
REST.JsonReflect.pas
REST.JsonReflect.hpp
REST.JsonReflect TJSONUnMarshal


Description

La méthode ObjectInstance crée une instance d'un objet basée sur le paramètre TypeName spécifié.

La méthode ObjectInstance crée une instance d'un objet basée sur le paramètre TypeName. Le paramètre Ctx spécifie l'instance d'informations du contexte d'exécution. Si la création échoue, ObjectInstance renvoie nil.

Voir aussi