IList<T>.Insert Method

Definition

Inserts a value at the specified index.

Delphi
procedure Insert(Index: Integer; const Value: T);

Parameters

Index
Integer

The zero-based index at which the value should be inserted.

Value
T

The value to insert.

Exceptions

Index is less than zero or greater than IReadOnlyCollection<T>.Count.