Click or drag to resize

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; }

Parameters

itemIndex
Type: SystemInt32
Index of the item.
byposition (Optional)
Type: SystemBoolean
if set to true [byposition].

Return Value

Type: T
The test object that corresponds to the specified toolbar item.
Exceptions
ExceptionCondition
InvocationExceptionWill be thrown if invocation fails.
WebExceptionWill be thrown if there are network problems.
See Also