REST.JsonReflect.JSONBooleanAttributeValue

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

Delphi

function JSONBooleanAttributeValue(rttiObject: TRttiNamedObject; AttributeClass: TClass; DefaultValue: Boolean = false): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall JSONBooleanAttributeValue(System::Rtti::TRttiNamedObject* rttiObject, System::TClass AttributeClass, bool DefaultValue = false);

プロパティ

種類 可視性 ソース ユニット
function public
REST.JsonReflect.pas
REST.JsonReflect.hpp
REST.JsonReflect REST.JsonReflect


説明

rttiObject に含まれているクラス AttributeClass の論理型属性の値を返します。クラス AttributeClass の属性が rttiObject 内に設定されていない場合は、DefaultValue を返します。

AttributeClassJSONBooleanAttribute のサブクラスでなければなりません。

関連項目