System.Classes.TInterfaceList.Items

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Items[Index: Integer]: IInterface read Get write Put; default;

C++

__property System::_di_IInterface Items[int Index] = {read=Get, write=Put/*, default*/};

Properties

Type Visibility Source Unit Parent
property public
System.Classes.pas
System.Classes.hpp
System.Classes TInterfaceList

Description

Provides direct access to an interface in the list.

Use Items to directly access an interface in the list. Index identifies each interface by its position in the list.

Note: In Delphi, Items is the default property of TInterfaceList. That means you can omit the property name. Thus, instead of writing:

InterfaceList1.Items[i]

you can write:

InterfaceList1[i]

See Also