API:Data.DB.TIntegerField.GetAsSingle

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function GetAsSingle: Single; override;

C++

virtual float __fastcall GetAsSingle();

プロパティ

種類 可視性 ソース ユニット
function protected
Data.DB.pas
Data.DB.hpp
Data.DB TIntegerField

説明

フィールドの値を、Single で返します。

Data.DB.TIntegerField.GetAsSingle は Data.DB.TField.GetAsSingle を継承しています。以下の内容はすべて Data.DB.TField.GetAsSingle を参照しています。

フィールドの値を、Single で返します。

Single フィールドを表す TField の下位クラスは、GetAsSingle メソッドをオーバーライドして、フィールドの値を Single として返します。

GetAsSingle メソッドを呼び出そうとすると、例外が発生します。

関連項目