Vcl.DBGrids.TBookmarkList.IndexOf

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function  IndexOf(const Item: TBookmark): Integer;

C++

int __fastcall IndexOf(const System::DynamicArray<System::Byte> Item);

Propriétés

Type Visibilité  Source Unité  Parent
function public
Vcl.DbGrids.pas
Vcl.DBGrids.hpp
Vcl.DBGrids TBookmarkList

Description

Renvoie l'indice d'une chaîne de signet dans le tableau de propriétés Items.

Appelez IndexOf pour obtenir l'indice d'une chaîne de signet dans le tableau Items. Le premier élément du tableau possède l'indice 0, le deuxième possède l'indice 1, etc. Si un élément n'est pas dans la liste, IndexOf renvoie -1.

Voir aussi