System.Classes.IInterfaceList.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 IInterfaceList

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, where 0 is the first item, 1 is the second item, and so on.

Note: In Delphi, Items is the default property of IInterfaceList. This means that the name of the property can be omitted in code, and the subscript applied directly to the interface.

See Also