Items Property (Applied to Collection)

Applies to TestComplete 15.47, last modified on January 20, 2023

Returns the collection item by its index.

Declaration

collectionObj.Items(Index)
Read-Only Property One of the objects listed in the Return Value section
Parameters
collectionObj     One of the objects listed in the Applies To  
Index [in] Required Integer

Applies To

This method applies to the following objects:

TcxEditButtons, TcxRadioGroupItems

Description

Use the Items property to obtain an item by its index within the given collectionObj collection. The total number of items in the collection is specified by the Count property.

Parameters

The property has the following parameter:

Index

The index of the desired item within the collection. The index is zero-based: the first item has index 0, the second - 1, and so on. The index of the last item is Count - 1.

Property Value

An object that provides scripting access to the specified item:

See Also

Count Property

Highlight search results