 | 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
Syntaxvoid InsertElement(
int index,
FlavorElement flavorElement
)
Sub InsertElement (
index As Integer,
flavorElement As FlavorElement
)
Parameters
- index
- Type: SystemInt32
The index to insert the flavor element at. - flavorElement
- Type: Ranorex.CoreFlavorElement
The flavor element to insert.
Exceptions| Exception | Condition |
|---|
| ArgumentOutOfRangeException | If index is less than 0
or greater than the current size of the Bucket. |
| ArgumentNullException | If flavorElement is null
and Action is not Replace. |
See Also