IWinToolBarCheckItem Method (Int32, 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(
int itemIndex,
bool check
)
Sub CheckItem (
itemIndex As Integer,
check As Boolean
)
Dim instance As IWinToolBar
Dim itemIndex As Integer
Dim check As Boolean
instance.CheckItem(itemIndex, check)
void CheckItem(
int itemIndex,
bool check
)
Parameters
- itemIndex
- Type: SystemInt32
The zero-based index of the item. - check
- Type: SystemBoolean
Specifies whether the specified item should be checked (true) or unchecked (false).
Exceptions See Also