Click or drag to resize

AttributeValueRequirementTypeInsert(CAEXWrapper, Boolean) Method

Inserts the specified CAEX object in it's associated sequence. The AttributeValueRequirementType defines the UnknownTypeType, the OrdinalScaledTypeType and the NominalScaledTypeType as possible child elements. Only one of these types is allowed as a child.

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)
ignored for this type.

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

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