CreateInheritanceLink.Connect(ModelElement, ModelElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Make a connection between the given pair of source and target elements
public:
static Microsoft::VisualStudio::Modeling::ElementLink ^ Connect(Microsoft::VisualStudio::Modeling::ModelElement ^ source, Microsoft::VisualStudio::Modeling::ModelElement ^ target);
public static Microsoft.VisualStudio.Modeling.ElementLink Connect (Microsoft.VisualStudio.Modeling.ModelElement source, Microsoft.VisualStudio.Modeling.ModelElement target);
static member Connect : Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.ModelElement -> Microsoft.VisualStudio.Modeling.ElementLink
Public Shared Function Connect (source As ModelElement, target As ModelElement) As ElementLink
Parameters
- source
- ModelElement
The model element to use as the source of the connection
- target
- ModelElement
The model element to use as the target of the connection
Returns
A link representing the created connection