Data.DB.TField.GetAsInteger

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetAsInteger: Integer; virtual;

C++

virtual int __fastcall GetAsInteger();

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 an Integer.

Descendants of TField that represent Integer fields override the GetAsInteger method to return the value of the field as an Integer.

Trying to call the GetAsInteger method raises an exception.

See Also