Data.DBXCommon.TDBXValue.GetBoolean
[–] Properties | |
---|---|
Type: function | |
Visibility: public | |
Source: Data.DBXCommon.pas Data.DBXCommon.hpp
| |
Unit: Data.DBXCommon | |
Parent: TDBXValue |
Delphi
function GetBoolean: Boolean; overload; virtual;
function GetBoolean(defaultValue: Boolean): Boolean; overload; virtual;
C++
virtual bool __fastcall GetBoolean()/* overload */;
virtual bool __fastcall GetBoolean(bool defaultValue)/* overload */;
Description
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.