IList<T>.Insert Method

Definition

Inserts an item to the list at the specified index.

Delphi
procedure Insert(index: Integer; const item: T)

Parameters

index
Integer

The zero-based index at which item should be inserted.

item
T

The element to insert into the list.

Exceptions

index is not a valid index in the list.