IList<T>.SetItem Method

Definition

Sets the value at the specified index.

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

Parameters

Index
Integer

The zero-based index of the value to set.

Value
T

The new value.

Exceptions

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