Data.DBXDelegate.TDBXDelegateWritableValue.GetBoolean
Delphi
function GetBoolean: Boolean; overload; override;
function GetBoolean(defaultValue: Boolean): Boolean; overload; override;
C++
virtual bool __fastcall GetBoolean(void)/* overload */;
virtual bool __fastcall GetBoolean(bool defaultValue)/* overload */;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | Data.DBXDelegate.pas Data.DBXDelegate.hpp |
Data.DBXDelegate | TDBXDelegateWritableValue |
Description
Gets the boolean value for boolean data types. {{#multireplace:Data.DBXDelegate.TDBXDelegateWritableValue.GetBoolean|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Data.DBXCommon.TDBXValue.GetBoolean|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Data.DBXCommon.TDBXValue.GetBoolean|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
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.