Data.DBXDelegate.TDBXDelegateWritableValue.GetAsBoolean

From RAD Studio API Documentation

Delphi

function GetAsBoolean: Boolean; override;

C++

virtual bool __fastcall GetAsBoolean(void);

Properties

Type Visibility Source Unit Parent
function protected
Data.DBXDelegate.pas
Data.DBXDelegate.hpp
Data.DBXDelegate TDBXDelegateWritableValue

Description

Get boolean representation of value. {{#multireplace:Data.DBXDelegate.TDBXDelegateWritableValue.GetAsBoolean|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Data.DBXCommon.TDBXValue.GetAsBoolean|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.GetAsBoolean|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

Get boolean representation of value.

GetAsBoolean returns a Boolean representation of the value. It applies a type conversion if needed. If there is no supported conversion to this type, an exception is raised.

See Also