TSubstringListLinguistic.InsertObject Method

procedure InsertObject(const Index: Integer; const S: string; const AObject: TObject); overload;

Inserts S with the object AObject at Index, as Insert.

#NameDescription
1Index

The new item's index, 0..Count.

2S

The text, every text kind.

3AObject

The item's object; with OwnsObjects the list frees it.

Result: stored in self (calling object)