System.Generics.Collections.TArray.IndexOf
Delphi
class function IndexOf<T>(const Values: array of T; const Item: T): NativeInt; overload; static;
class function IndexOf<T>(const Values: array of T; const Item: T;
Index: NativeInt): NativeInt; overload; static;
class function IndexOf<T>(const Values: array of T; const Item: T;
const Comparer: IComparer<T>; Index, Count: NativeInt): NativeInt; overload; static;
C++
template<typename T> static System::NativeInt __fastcall IndexOf(const T *Values, const System::NativeInt Values_High, const T Item)/* overload */;
template<typename T> static System::NativeInt __fastcall IndexOf(const T *Values, const System::NativeInt Values_High, const T Item, System::NativeInt Index)/* overload */;
template<typename T> static System::NativeInt __fastcall IndexOf(const T *Values, const System::NativeInt Values_High, const T Item, const System::DelphiInterface<System::Generics::Defaults::IComparer__1<T> > Comparer, System::NativeInt Index, System::NativeInt Count)/* overload */;
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
function | public | System.Generics.Collections.pas System.Generics.Collections.hpp |
System.Generics.Collections | TArray |