BuiltIn.GetListCount Method

Applies to TestComplete 15.63, last modified on April 23, 2024
This method is obsolete. See the Remarks section below.

Description

In TestComplete, some methods and properties return a list of items, for instance, Win32ComboBox.wItemList. GetListCount returns the number of items in this type of list.

Declaration

BuiltIn.GetListCount(List, Delimiter)

List [in]    Required    String    
Delimiter [in]    Optional    String Default value: CR, LF   
Result Integer

Applies To

The method is applied to the following object:

Parameters

The method has the following parameters:

List

A string that holds a list of values separated by characters specified by the Delimiter parameter.

Delimiter

A character or string that is used as an item separator in the List string. By default, TestComplete considers that the items are separated with line breaks (0Dh, 0Ah symbols).

Result Value

An integer value that means the number of values in the passed list.

Remarks

This method is obsolete. It is supported for backward compatibility only. To get the number of items in a list, use the aqString.GetListLength method.

See Also

GetListLength Method
GetListItem Method
ListSeparator Property

Highlight search results