Skip to content

TFPGList.Items

Indexed access to items in the list.

Declaration

Source position: fgl.pp line 173

public property Items[Index : Integer]: T; default;

Description

Items provides indexed access to the items in the list. The items can be get or set.

The index Index is zero based, and has a maximum value of Count-1.

Errors

If an invalid index is used, an EListError exception is raised.

See also

Name Description
TFPSList.Count Current element count.