Share via


ConnectableElementExtensions.CreateConnector Method (IStructuredClassifier, IConnectableElement, IConnectableElement, IProperty, IProperty)

 

Connect the source element to a target element, such as a Part or Port. If the source or target is a Port located on a Part, specify both.

Namespace:   Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
Assembly:  Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)

Syntax

public static IConnector CreateConnector(
    this IStructuredClassifier parent,
    IConnectableElement sourceConnectableElement,
    IConnectableElement targetConnectableElement,
    IProperty sourcePart = null,
    IProperty targetPart = null
)
public:
[ExtensionAttribute]
static IConnector^ CreateConnector(
    IStructuredClassifier^ parent,
    IConnectableElement^ sourceConnectableElement,
    IConnectableElement^ targetConnectableElement,
    IProperty^ sourcePart = null,
    IProperty^ targetPart = null
)
static member CreateConnector : 
        parent:IStructuredClassifier *
        sourceConnectableElement:IConnectableElement *
        targetConnectableElement:IConnectableElement *
        sourcePart:IProperty = null *
        targetPart:IProperty = null -> IConnector
<ExtensionAttribute>
Public Shared Function CreateConnector (
    parent As IStructuredClassifier,
    sourceConnectableElement As IConnectableElement,
    targetConnectableElement As IConnectableElement,
    sourcePart As IProperty,
    targetPart As IProperty
) As IConnector

Parameters

Return Value

Type: Microsoft.VisualStudio.Uml.CompositeStructures.IConnector

See Also

ConnectableElementExtensions Class
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace

Return to top