System.JSON.TJSONBool.AsTValue
Delphi
function AsTValue(ATypeInfo: PTypeInfo; var AValue: TValue): Boolean; override;
C++
virtual bool __fastcall AsTValue(System::Typinfo::PTypeInfo ATypeInfo, System::Rtti::TValue &AValue);
Propriétés
| Type | Visibilité | Source | Unité | Parent |
|---|---|---|---|---|
| function | protected | System.JSON.pas System.JSON.hpp |
System.JSON | TJSONBool |
Description
Remplit l'instance AValue de TValue avec cette valeur booléenne JSON encodée selon le type spécifié. AsTValue renvoie True si le type spécifié est pris en charge ou False dans le cas contraire.
Les types TTypeData pris en charge sont :
| Types pris en charge | Description |
|---|---|
|
|
Remplit |
|
|
Remplit |
|
|
Remplit |
|
|
Remplit |