IList<T>.GetItem Method

Definition

Gets the value at the specified index.

Delphi
function GetItem(Index: Integer): T;

Parameters

Index
Integer

The zero-based index of the value to get.

Returns

T

The value at the specified index.

Exceptions

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