Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
sourceConnectableElement
Type: Microsoft.VisualStudio.Uml.CompositeStructures.IConnectableElementPart or port to be connected.
targetConnectableElement
Type: Microsoft.VisualStudio.Uml.CompositeStructures.IConnectableElementPart or port to be connected.
sourcePart
Type: Microsoft.VisualStudio.Uml.Classes.IPropertyParent part of the source port, or null.
targetPart
Type: Microsoft.VisualStudio.Uml.Classes.IPropertyParent part of the target port, or null.
Return Value
Type: Microsoft.VisualStudio.Uml.CompositeStructures.IConnector
See Also
ConnectableElementExtensions Class
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace
Return to top