FireDAC.Stan.Util.FDIndexOf

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also