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

M_CAEX_ClassModel_InternalLinkType_New_InternalLink

AutomationML edited this page Feb 23, 2017 · 2 revisions

InternalLinkType.New_InternalLink Method

Creates a new internal link between the defined Classes and Interfaces if the Classes have a Common Class. The InternalLink is added as the first InternalLink if nothing else is explicit defined.

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

Syntax

C#

public static InternalLinkType New_InternalLink(
	SystemUnitClassType AClass,
	InterfaceClassType AInterface,
	SystemUnitClassType BClass,
	InterfaceClassType BInterface,
	string name,
	bool asFirst = true,
	SystemUnitClassType linkParent = null
)

C++

public:
static InternalLinkType^ New_InternalLink(
	SystemUnitClassType^ AClass, 
	InterfaceClassType^ AInterface, 
	SystemUnitClassType^ BClass, 
	InterfaceClassType^ BInterface, 
	String^ name, 
	bool asFirst = true, 
	SystemUnitClassType^ linkParent = nullptr
)

Parameters

 

AClass
Type: CAEX_ClassModel.SystemUnitClassType
a class.
AInterface
Type: CAEX_ClassModel.InterfaceClassType
a interface.
BClass
Type: CAEX_ClassModel.SystemUnitClassType
The b class.
BInterface
Type: CAEX_ClassModel.InterfaceClassType
The b interface.
name
Type: System.String
The name.
asFirst (Optional)
Type: System.Boolean
If true, the link is added as the first link, otherwise as the last
linkParent (Optional)
Type: CAEX_ClassModel.SystemUnitClassType
The link parent (SystemUnitClass or InternalElement). [optional]

Return Value

Type: InternalLinkType
InternalLinkType.

See Also

Reference

InternalLinkType 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