Skip to content
This repository has been archived by the owner on Jun 22, 2019. It is now read-only.

M_CAEX_ClassModel_InternalElementType_MergeContent

AutomationML edited this page Feb 23, 2017 · 2 revisions

InternalElementType.MergeContent Method

Merging an InternalElement with the elements of another InternalElement. Header elements are not merged! As Attribute Names are unique, they are not duplicated but the according attribute from contentToMergeWith InternalElement is used to override this one.

Namespace: CAEX_ClassModel
Assembly: AMLEngine (in AMLEngine.dll) Version: 3.5

Syntax

C#

public InternalElementType MergeContent(
	InternalElementType contentToMergeWith,
	bool mergeRole
)

C++

public:
InternalElementType^ MergeContent(
	InternalElementType^ contentToMergeWith, 
	bool mergeRole
)

Parameters

 

contentToMergeWith
Type: CAEX_ClassModel.InternalElementType
The InternalElement to merge content with
mergeRole
Type: System.Boolean
If true, RoleRequirements and MappingObject are copied from given InternalElement to this InternalElement

Return Value

Type: InternalElementType
The object with merged content.

See Also

Reference

InternalElementType Class
CAEX_ClassModel Namespace

  • Introduction
  • [Version History](Version history)
    • [Version 3.5](Version 3.4)
    • [Version 3.1](Version 3.0)
    • [Version 2.1](Version 2.1)
    • [Version 2.0](Version 2.0)
  • [Getting Started](Getting started)
  • Examples
  • AMLEngine API
BEST Practice Content

Extensions

CAEX Elements

AutomationML

Utilities

Interfaceclasses

Exceptions

Objecttables and Document validation

Clone this wiki locally