Data.DB.TField.GetAsCurrency

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetAsCurrency: Currency; virtual;

C++

virtual System::Currency __fastcall GetAsCurrency();

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 a Currency.

Descendants of TField that represent Currency fields override the GetAsCurrency method to return the value of the field as a Currency.

Trying to call the GetAsCurrency method raises an exception.

See Also