Click or drag to resize

IMenu.Check Method (Int32, Boolean)

Checks or unchecks the specified menu item.

Namespace:  SmartBear.TestLeft.TestObjects
Assembly:  SmartBear.TestLeft (in SmartBear.TestLeft.dll) Version: 14.70.237.11 (14.70.237.11)
Syntax
void Check(
	int itemIndex,
	bool check
)

Parameters

itemIndex
Type: System.Int32
The zero-based index of the item.
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