Data.DB.TMemoField.GetAsInteger

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetAsInteger: Integer; override;

C++

virtual int __fastcall GetAsInteger();

Properties

Type Visibility Source Unit Parent
function public
Data.DB.pas
Data.DB.hpp
Data.DB TMemoField

Description

Returns the value of the field as an Integer.

Data.DB.TMemoField.GetAsInteger inherits from Data.DB.TField.GetAsInteger. All content below this line refers to Data.DB.TField.GetAsInteger.

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