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.
Data.DBXDelegate.TDBXDelegateWritableValue.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.