Click or drag to resize

IWinListViewCheckItem Method (String, Boolean)

Checks the item specified by its index, from 0, or by its name.

Namespace:  SmartBear.TestLeft.TestObjects.Win
Assembly:  SmartBear.TestLeft (in SmartBear.TestLeft.dll) Version: 14.70.237.11 (14.70.237.11)
Syntax
void CheckItem(
	string itemName,
	bool check
)

Parameters

itemName
Type: SystemString
The item's name.
check
Type: SystemBoolean
Specifies whether the specified item should be checked (true) or unchecked (false).
Exceptions
ExceptionCondition
InvocationExceptionWill be thrown if invocation fails.
WebExceptionWill be thrown if there are network problems.
See Also