Condividi tramite


ConnectableElementExtensions Class

Extension methods for IConnectableElement.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml.ConnectableElementExtensions

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

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class ConnectableElementExtensions
public static class ConnectableElementExtensions
[ExtensionAttribute]
public ref class ConnectableElementExtensions abstract sealed
[<AbstractClass>]
[<Sealed>]
type ConnectableElementExtensions =  class end
public final class ConnectableElementExtensions

The ConnectableElementExtensions type exposes the following members.

Methods

  Name Description
Public methodStatic member CreateConnector 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.
Public methodStatic member GetConnectedElements The elements connected to this element using Connectors. For example, if this element is a Part in a Component, this method returns the Parts and Ports that are connected to it.

Top

Remarks

For more information about UML diagrams, see Developing Models for Software Design.

For more information about using the UML API, see Extending UML Models and Diagrams.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace