CreateDiagramElementMap.Connect Method
Make the connection between the given elements.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'Declaração
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
- sourceElement
Type: Microsoft.VisualStudio.Modeling.ModelElement
- targetElement
Type: Microsoft.VisualStudio.Modeling.ModelElement
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.