RAD Studio VCL Reference
IInterfaceList.Items Property

Provides direct access to an interface in the list.

property Items [Index: Integer]: IInterface;
__property IInterface Items[int Index];

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.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!