FireDAC.Stan.Util.FDIndexOf
Delphi
function FDIndexOf(AList: Pointer; ALen: Integer; AItem: Pointer): Integer;
C++
extern DELPHI_PACKAGE int __fastcall FDIndexOf(void * AList, int ALen, void * AItem);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | FireDAC.Stan.Util.pas FireDAC.Stan.Util.hpp |
FireDAC.Stan.Util | FireDAC.Stan.Util |
Description
Renvoie l'index d'un élément dans une liste.
La fonction FDIndexOf renvoie l'index de AItem
dans le paramètre AList
.
Renvoie -1 si l'élément n'existe pas dans la liste.