IWinToolBarCheckItem Method (Int32, Boolean, 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,
bool byposition
)
Sub CheckItem (
itemIndex As Integer,
check As Boolean,
byposition As Boolean
)
Dim instance As IWinToolBar
Dim itemIndex As Integer
Dim check As Boolean
Dim byposition As Boolean
instance.CheckItem(itemIndex, check, byposition)
void CheckItem(
int itemIndex,
bool check,
bool byposition
)
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). - byposition
- Type: SystemBoolean
Indicates whether the item parameter specifies the item's identifier or position.
Exceptions See Also