Share via


CreateDiagramElementMap.Connect Method

Make the connection between the given elements.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)

Syntax

'Declaration
Public Shared Sub Connect ( _
    sourceElement As ModelElement, _
    targetElement As ModelElement _
)
public static void Connect(
    ModelElement sourceElement,
    ModelElement targetElement
)
public:
static void Connect(
    ModelElement^ sourceElement, 
    ModelElement^ targetElement
)
static member Connect : 
        sourceElement:ModelElement * 
        targetElement:ModelElement -> unit
public static function Connect(
    sourceElement : ModelElement, 
    targetElement : ModelElement
)

Parameters

.NET Framework Security

See Also

Reference

CreateDiagramElementMap Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace