GetItemCount Function (HtmlList)

Class

HtmlList.

Action

Returns the number of items in the list.

Availability

This functionality is supported only if you are using the Classic Agent.

Syntax

iCount = list.GetItemCount()
Variable Description
iCount The number of items in the list. INTEGER.

Example

This example uses the list of used technologies in the About This Site page of the GMO Web application.

INTEGER iCount
iCount = AboutPage.UsedList.GetItemCount()
Print("Item count: {iCount}")

// Result:
// Item count: 9

Example

This example uses the list of used technologies in the About This Site page of the GMO Web application.

INTEGER iCount
iCount = AboutPage.UsedList.GetItemCount()
Print("Item count: {iCount}")

// Result:
// Item count: 9