Click or drag to resize
Ranorex

GlueRuleExecutionStateInsertElement Method (Int32, FlavorElement)

Inserts a flavor element at the specified position into the bucket and automatically transforms it into an element.

Namespace:  Ranorex.Core
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
void InsertElement(
	int index,
	FlavorElement flavorElement
)

Parameters

index
Type: SystemInt32
The index to insert the flavor element at.
flavorElement
Type: Ranorex.CoreFlavorElement
The flavor element to insert.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionIf index is less than 0 or greater than the current size of the Bucket.
ArgumentNullExceptionIf flavorElement is null and Action is not Replace.
See Also