Skip to main content

IdxReadOnlyList<T>.GetItem(Integer) Method

Returns the collection item by its zero-based index.

Declaration

function GetItem(Index: Integer): T;

Parameters

Name Type
Index Integer

Returns

Type
T

Remarks

Call this function to obtain the stored item whose zero-based index within the list or collection is passed as the Index parameter. The maximum Index parameter value is the Count property value minus one.

The GetItem function is the Self property’s getter.

See Also