Vcl.DBOleCtl.TDataBindings

提供:RAD Studio API Documentation

TDataBindingsSystem.Classes.TCollectionSystem.Classes.TPersistentSystem.TObject

Delphi

TDataBindings = class(TCollection)

C++

class PASCALIMPLEMENTATION TDataBindings : public System::Classes::TCollection

プロパティ

種類 可視性 ソース ユニット 親
class public
Vcl.DBOleCtl.pas
Vcl.DBOleCtl.hpp
Vcl.DBOleCtl Vcl.DBOleCtl

説明

TDataBindings は,TDataBindItem オブジェクトのグループを保持します。

TDataBindings を使用すると,データベース対応 ActiveX コントロールのプロパティをデータセットの項目に接続できます。TDataBindings は,その Items 配列でデータバインディング(TDataBindItem オブジェクト)のインデックスを管理します。その上位の TCollection オブジェクトの Count プロパティは,コレクション内の項目数を保持します。Add メソッドを使用すると,項目をコレクションに追加できます。

一般に,このオブジェクトは内部的に使用されます。かわりに,DBOleControl オブジェクトの DataBindings プロパティを介して,オブジェクトのデータバインディングにアクセスします。