Data.Bind.ObjectScope.TBindSourceAdapter.GetItemIndex
Delphi
function GetItemIndex: Integer;
C++
int __fastcall GetItemIndex(void);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | protected | Data.Bind.ObjectScope.pas Data.Bind.ObjectScope.hpp |
Data.Bind.ObjectScope | TBindSourceAdapter |
説明
ItemIndex プロパティの取得メソッドです。
GetItemIndex は、アクティブ データ項目のインデックスを返します。
GetItemIndex を呼び出すと、アクティブ データ項目のインデックスを判別することができます。最初の項目はインデックス 0 であり、2 番目の項目はインデックス 1... となります。