ListCaptions.getCount

Syntax

getCount();

Description

The getCount method returns the number of titles including hidden ones.

Example

Executing the example requires the SimpleTreeList component with the Tree identifier (see Example of Creating the SimpleTreeList Component).

//Get tree titles
caps = Tree.getCaptions();
// Get number of titles
caps.getCount();
// -> 2

After executing the example the number of titles is obtained.

See also:

ListCaptions