System.Tether.AppProfile.TLocalResource.MarshalToJSON

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function MarshalToJSON: TJSONObject; override;

C++

virtual System::Json::TJSONObject* __fastcall MarshalToJSON();

プロパティ

種類 可視性 ソース ユニット
function protected
System.Tether.AppProfile.pas
System.Tether.AppProfile.hpp
System.Tether.AppProfile TLocalResource


説明

ローカル リソースについての情報を含む TJSONObject のインスタンスを返します。

JSON オブジェクトには次のデータが格納されています:

キー

ResourceType

ローカル リソースデータの型を識別する integer を含む、TJSONNumber のインスタンス。

DataType

ローカル リソースがラッピングしているリソース値のデータの型を識別する integer を含む、TJSONNumber のインスタンス。

Value

ローカル リソースをラッピングするリソース値。


Value は、リソース値が整数、浮動小数点数、またはブーリアン(0 は False、1 は True)の場合、TJSONNumber のインスタンスに、リソース値が文字列の場合、TJSONString のインスタンスとなります。

関連項目