Data.DBXCommon.TDBXValue.GetAsBoolean

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: protected
Source:
Data.DBXCommon.pas
Data.DBXCommon.hpp
Unit: Data.DBXCommon
Parent: TDBXValue

Delphi

function GetAsBoolean: Boolean; virtual;

C++

virtual bool __fastcall GetAsBoolean();

Description

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