IWinToolBarButtonsCollectionTItem Property |
Gets a toolbar item by its ID or position.
Namespace:
SmartBear.TestLeft.TestObjects.Win
Assembly:
SmartBear.TestLeft (in SmartBear.TestLeft.dll) Version: 14.70.237.11 (14.70.237.11)
Syntax T this[
int itemIndex,
bool byposition = false
] { get; }
ReadOnly Default Property Item (
itemIndex As Integer,
Optional byposition As Boolean = false
) As T
Get
Dim instance As IWinToolBarButtonsCollection
Dim itemIndex As Integer
Dim byposition As Boolean
Dim value As T
value = instance(itemIndex, byposition)
property T default[int itemIndex, bool byposition = false] {
T get (int itemIndex, bool byposition = false);
}
Parameters
- itemIndex
- Type: SystemInt32
Index of the item. - byposition (Optional)
- Type: SystemBoolean
if set to true [byposition].
Return Value
Type:
TThe test object that corresponds to the specified toolbar item.
Exceptions See Also