|
Name
|
Description
|
|
Capacity
|
Specifies the list capacity.
Use Capacity to determine the list capacity. Before adding many interfaces to the list, you can improve performance by setting Capacity to the final number of interfaces. This prevents the interface list from having to reallocate the list every time an interface is added.
|
|
Count
|
Specifies the number of interfaces in the list.
Use Count to determine the number of interfaces in the list.
|
|
Items[Integer]
|
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 TInterfaceListPersistent. That means you can omit the property name. Thus, instead of writing:
Delphi
|
InterfaceList1.Items[i]
|
|
you can write:
Delphi
|
InterfaceList1[i]
|
Tag
Stores a NativeInt integral value as a part of the list.
Tag has no predefined meaning. The Tag property can store any additional integer value for the convenience of developers. Often, Tag stores a pointer. A Tag value can be typecast to the appropriate pointer type. Notice that on 64-bit platforms, all pointer types are 8 bytes in size, while on 32-bit platforms, pointer types are 4 bytes. These pointer sizes correspond to sizes of NativeInt integral values on 64-bit and 32-bit platforms.
Top