Data.DBXJSONReflect.JSONBooleanAttributeValue
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 | Data.DBXJSONReflect.pas Data.DBXJSONReflect.hpp |
Data.DBXJSONReflect | Data.DBXJSONReflect |
説明
指定された RTTI オブジェクトまたは DefaultValue
上の指定されたクラスの boolean 属性の値を返します(属性が RTTI オブジェクトで定義されていない場合)。
AttributeClass
は、JSONBooleanAttribute のサブクラスでなければなりません。