Click or drag to resize

SystemUnitFamilyTypeInsert(CAEXWrapper, Boolean) Method

Inserts the specified CAEX object in it's associated sequence. The SystemUnitFamilyType defines the SystemUnitClass sequence.

Namespace: Aml.Engine.CAEX
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public override bool Insert(
	CAEXWrapper caexObject,
	bool asFirst = true
)

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

Boolean
true, 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

ICAEXBasicObjectInsert(CAEXWrapper, Boolean)
ICAEXBasicObjectInsert(CAEXWrapper, Boolean)
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