API Reference MyLibrary MyLibrary.Collections IList<T> IList<T>.IndexOf Method Definition Unit: MyLibrary.Collections Package: MyLibrary Returns the zero-based index of the first occurrence of a value. Delphi Copy function IndexOf(const Value: T): Integer; Parameters Value T The value to locate in the list. Returns Integer The zero-based index of the value if found; otherwise, -1.