TSubstringListLinguistic.IndexOfObject Method

function IndexOfObject(const AObject: TObject): Integer;

The index of the first item whose object is AObject, or -1.

#NameDescription
1AObject

The object searched for; nil finds the first item without one.

Returns: Integer - The item's index, or -1.