Vcl.DBGrids.TBookmarkList.IndexOf
Delphi
function IndexOf(const Item: TBookmark): Integer;
C++
int __fastcall IndexOf(const System::DynamicArray<System::Byte> Item);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.DbGrids.pas Vcl.DBGrids.hpp |
Vcl.DBGrids | TBookmarkList |
Description
Returns the index of a bookmark string in the Items property array.
Call IndexOf to get the index for a bookmark string in the Items array. The first item in the array has index 0, the second item has index 1, and so on. If an item is not in the list, IndexOf returns -1.