Data.DB.TField.GetAsBoolean
[–] Properties | |
---|---|
Type: function | |
Visibility: protected | |
Source: Data.DB.pas Data.DB.hpp
| |
Unit: Data.DB | |
Parent: TField |
Delphi
function GetAsBoolean: Boolean; virtual;
C++
virtual bool __fastcall GetAsBoolean();
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.