Data.DB.TField.GetAsBoolean

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetAsBoolean: Boolean; virtual;

C++

virtual bool __fastcall GetAsBoolean();

Properties

Type Visibility Source Unit Parent
function protected
Data.DB.pas
Data.DB.hpp
Data.DB TField

Description

Returns the value of the field as a Boolean.

Descendants of TField that represent Boolean fields override the GetAsBoolean method to return the value of the field as a Boolean.

Trying to call the GetAsBoolean method raises an exception.

See Also