 | CAEXFileTypeInsert(CAEXWrapper, Boolean) Method |
Namespace: Aml.Engine.CAEXAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic override bool Insert(
CAEXWrapper caexObject,
bool asFirst = true
)
Public Overrides Function Insert (
caexObject As CAEXWrapper,
Optional asFirst As Boolean = true
) As Boolean
public:
virtual bool Insert(
CAEXWrapper^ caexObject,
bool asFirst = true
) override
Parameters
- caexObject CAEXWrapper
- The CAEX object.
- asFirst Boolean (Optional)
-
if set to true it is inserted as the
first item in its associated sequence.
Return Value
Booleantrue, if a sequence could be identified and 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.
Implements
ICAEXContainerInsert(CAEXWrapper, Boolean)ICAEXBasicObjectInsert(CAEXWrapper, Boolean)
Remarks
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.
See Also