Data.DBXCommon.TDBXValue.GetBoolean

From RAD Studio API Documentation
Jump to: navigation, search

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 */;

Properties

Type Visibility Source Unit Parent
function public
Data.DBXCommon.pas
Data.DBXCommon.hpp
Data.DBXCommon TDBXValue

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.

See Also