共用方式為


CreateDiagramElementMap.Connect(ModelElement, ModelElement) Method

Definition

Make the connection between the given elements.

public:
 static void Connect(Microsoft::VisualStudio::Modeling::ModelElement ^ sourceElement, Microsoft::VisualStudio::Modeling::ModelElement ^ targetElement);
public static void Connect (Microsoft.VisualStudio.Modeling.ModelElement sourceElement, Microsoft.VisualStudio.Modeling.ModelElement targetElement);
static member Connect : Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.ModelElement -> unit
Public Shared Sub Connect (sourceElement As ModelElement, targetElement As ModelElement)

Parameters

sourceElement
ModelElement
targetElement
ModelElement

Applies to