Inserts the specified CAEX object in it's associated container. AMLPort objects are not allowed
to contain child InternalElement objects. If an InternalElement is tried to insert, the result is false.
Namespace:Aml.Engine.AmlObjects Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
if set to true the element is inserted at the first position in it's container.
Return Value
Boolean true, if the provided CAEX object is inserted; If a copy of the CAEX object has been inserted
or the provided CAEX object doesn't represent a valid member of any sequence the result is false.
If the provided CAEX object already has an associated parent, a 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.