LinkCount Property (SysLink Controls)

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

Description

The LinkCount property returns the total number of links in a SysLink control. To obtain a single link by its index, use the Link property.

Declaration

TestObj.LinkCount

Read-Only Property Integer
TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section

Applies To

The property is applied to the following object:

View Mode

To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.

Property Value

An integer number that signifies the total number of links.

Example

To view an example that demonstrates how to use the LinkCount property, see Obtaining the Number of Links in SysLink Controls in Desktop Windows Applications.

See Also

Obtaining the Number of Links in SysLink Controls in Desktop Windows Applications
ClickLink Action (SysLink Controls)
Link Property (SysLink Controls)
wText Property (SysLink Controls)
Click Action (SysLinkItem Objects)

Highlight search results