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