IOrderedSet<T>.IndexOf Method

Definition

Determines the index of a specific item in the set.

Delphi
function IndexOf(const item: T): Integer

Parameters

item
T

The item to locate in the dictionary.

Returns

Integer

The index of item if found in the set; otherwise, -1.