API:Data.DB.TVariantField.SetAsInteger

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

Delphi

procedure SetAsInteger(Value: Integer); override;

C++

virtual void __fastcall SetAsInteger(int Value);

プロパティ

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

説明

フィールドの値を、指定された Integer の値で設定します。

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

フィールドの値を、指定された Integer の値で設定します。

Integer フィールドを表す TField の下位クラスは、SetAsInteger メソッドをオーバーライドして、与えられた IntegerValue でフィールドの値を設定します。

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

関連項目