Data.DB.TStringField.GetAsBoolean

From RAD Studio API Documentation
Revision as of 23:14, 16 October 2011 by PyBot (talk | contribs) (Scoping Libraries)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Delphi

function GetAsBoolean: Boolean; override;

C++

virtual bool __fastcall GetAsBoolean();

Properties

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

Description

Returns the value of the field as a Boolean.

GetAsBoolean returns True if the length of the field's value is greater than zero and the first char is T, t, Y or y.

See Also