Data.DBXCommon.TDBXAnsiStringValue.GetAsBoolean

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetAsBoolean: Boolean; override;

C++

virtual bool __fastcall GetAsBoolean();

Properties

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

Description

Get boolean representation of value.

Data.DBXCommon.TDBXAnsiStringValue.GetAsBoolean inherits from Data.DBXCommon.TDBXValue.GetAsBoolean. All content below this line refers to Data.DBXCommon.TDBXValue.GetAsBoolean.

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