RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IInterfaceList.Items Property

Provides direct access to an interface in the list.

Pascal
property Items [Index: Integer]: IInterface;
C++
__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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!