PortShape Class

Represents the port shape in the Domain-Specific Language Designer.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)

Syntax

<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.PortShape.DisplayName",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("9611ef3f-5a90-4c3c-af35-8f4a937e2ed6")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.PortShape.Description",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<CLSCompliantAttribute(True)> _
Public MustInherit Class PortShape _
    Inherits NodeShape

Dim instance As PortShape
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.PortShape.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("9611ef3f-5a90-4c3c-af35-8f4a937e2ed6")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.PortShape.Description", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[CLSCompliantAttribute(true)]
public abstract class PortShape : NodeShape
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.PortShape.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute(L"9611ef3f-5a90-4c3c-af35-8f4a937e2ed6")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.PortShape.Description", 
    typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[CLSCompliantAttribute(true)]
public ref class PortShape abstract : public NodeShape
public abstract class PortShape extends NodeShape

Remarks

Ports are assigned to elements in the diagram. A port lets data pass in and out of an element.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Modeling.ModelElement
    Microsoft.VisualStudio.Modeling.Diagrams.PresentationElement
      Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
        Microsoft.VisualStudio.Modeling.Diagrams.NodeShape
          Microsoft.VisualStudio.Modeling.Diagrams.PortShape

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

PortShape Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace