Data.DBXJSONReflect.TJSONUnMarshal.StringToTValue
Delphi
function StringToTValue(const Value: string; typeInfo: PTypeInfo): TValue;
C++
System::Rtti::TValue __fastcall StringToTValue(const System::UnicodeString Value, System::Typinfo::PTypeInfo typeInfo);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | protected | Data.DBXJSONReflect.pas Data.DBXJSONReflect.hpp |
Data.DBXJSONReflect | TJSONUnMarshal |
Description
Convertit une chaîne en un TValue, selon les informations de type.
Value
représente la valeur de la chaîne.
typeInfo
représente les informations de type à l'exécution utilisées lors de la conversion.
Une exception est déclenchée si la conversion n'est pas possible.