Click or drag to resize

CAEXSequenceTInsertAt Method

Inserts the specified CAEX object into this sequence at the defined index.

Namespace: Aml.Engine.CAEX
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public T InsertAt(
	int index,
	T caexObject
)

Parameters

index  Int32
The Position of the element
caexObject  T
The CAEX object

Return Value

T
The inserted CAEX object. If the provided CAEX object already belongs to a sequence, a copy of the CAEX object is inserted and returned as the result.
Remarks
If the provided CAEX object already has an associated parent, a deep copy of the CAEX object and not the original provided CAEX Object is inserted. Please keep in mind, that the copied object contains identical attributes and elements. It might not represent a valid AutomationML object, because IDs and references are not automatically modified.
See Also