API:Data.DBXCommon.TDBXBooleanValue.GetBoolean

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

Delphi

function GetBoolean: Boolean; override;

C++

virtual bool __fastcall GetBoolean()/* overload */;
inline bool __fastcall  GetBoolean(bool defaultValue){ return TDBXValue::GetBoolean(defaultValue); }

プロパティ

種類 可視性 ソース ユニット
function public
Data.DBXCommon.pas
Data.DBXCommon.hpp
Data.DBXCommon TDBXBooleanValue

説明

論理データ型の論理値を取得します。

Data.DBXCommon.TDBXBooleanValue.GetBoolean は Data.DBXCommon.TDBXValue.GetBoolean を継承しています。以下の内容はすべて Data.DBXCommon.TDBXValue.GetBoolean を参照しています。

論理データ型の論理値を取得します。

データ型が BooleanType である TDBXValue インスタンスの論理値を取得します。

TDBXValue.IsNull が true で、defaultValue が指定されていない場合、このメソッドは TDBXError 例外を送出します。TDBXValue が空である場合、このメソッドは defaultValue(指定されている場合)を取得します。

関連項目