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);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | FireDAC.Stan.Util.pas FireDAC.Stan.Util.hpp |
FireDAC.Stan.Util | FireDAC.Stan.Util |
Description
Returns the index of an item inside a list.
The FDIndexOf function returns the index of AItem inside the AList parameter.
Returns -1 if the item does not exist inside the list.