API:Data.DBXCommon.TDBXBooleanValue.GetBoolean
Delphi
function GetBoolean: Boolean; override;
C++
virtual bool __fastcall GetBoolean()/* overload */;
inline bool __fastcall GetBoolean(bool defaultValue){ return TDBXValue::GetBoolean(defaultValue); }
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Data.DBXCommon.pas Data.DBXCommon.hpp |
Data.DBXCommon | TDBXBooleanValue |
Description
Gets the boolean value for boolean data types.
Data.DBXCommon.TDBXBooleanValue.GetBoolean inherits from Data.DBXCommon.TDBXValue.GetBoolean. All content below this line refers to Data.DBXCommon.TDBXValue.GetBoolean.
Gets the boolean value for boolean data types.
Gets the boolean value for TDBXValue instances with a data types of TDBXDataTypes.
This method throws a TDBXError exception if TDBXValue.IsNull is true and defaultValue is not specified. This method gets the defaultValue if it is specified and the TDBXValue is null.