System.Generics.Collections.TList.Items

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Items[Index: Integer]: T read GetItem write SetItem; default;

C++

__property T Items[int Index] = {read=GetItem, write=SetItem/*, default*/};

Properties

Type Visibility Source Unit Parent
property public
System.Generics.Collections.pas
System.Generics.Collections.hpp
System.Generics.Collections TList

Description

Item at index.

Items gets or sets the list element at the specified index.

You can use Items to get and set list values by index using the syntax myList[i] to access the ith item of the list.

See Also

Code Examples