Click or drag to resize

IWinToolBar.CheckItem Method (String, Boolean)

Checks or unchecks the specified toolbar item.

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: System.String
The item's name.
check
Type: System.Boolean
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