RanorexRanorex Documentation
InsertElement Method (index, flavorElement)
NamespacesRanorex.CoreGlueRuleExecutionStateInsertElement(Int32, FlavorElement)
Inserts a flavor element at the specified position into the bucket and automatically transforms it into an element.
Declaration Syntax
C#Visual BasicVisual C++
public void InsertElement(
	int index,
	FlavorElement flavorElement
)
Public Sub InsertElement ( _
	index As Integer, _
	flavorElement As FlavorElement _
)
public:
void InsertElement(
	int index, 
	FlavorElement^ flavorElement
)
Parameters
index (Int32)
The index to insert the flavor element at.
flavorElement (FlavorElement)
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.

Assembly: Ranorex.Core (Module: Ranorex.Core) Version: 4.0.3.22982 (4.0.3.22982)