System.Contnrs.TCustomBucketList.FindItem

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

Delphi

function FindItem(AItem: Pointer; out ABucket, AIndex: Integer): Boolean; virtual;

C++

virtual bool __fastcall FindItem(void * AItem, /* out */ int &ABucket, /* out */ int &AIndex);

プロパティ

種類 可視性 ソース ユニット
function protected
System.Contnrs.pas
System.Contnrs.hpp
System.Contnrs TCustomBucketList

説明

バケットリスト内の項目の位置を返します。

TCustomBucketList は,内部で FindItem を使用して,バケットリスト内の項目の位置を特定します。

AItem は,バケットリスト内の検索対象の項目です。

ABucket は,項目を格納しているバケットのインデックスを返します。

AIndex は,ABucket で指定したバケット内の項目のインデックスを返します。

FindItem は,AItem がバケットリスト内にある場合は true,ない場合は false を返します。

関連項目