Data.DBXJSONReflect.TJSONUnMarshal.StringToTValue
Delphi
function StringToTValue(Value: string; typeInfo: PTypeInfo): TValue;
C++
System::Rtti::TValue __fastcall StringToTValue(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.
Valuereprésente la valeur de la chaîne.
typeInforepré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.