PortShape Class
Base class for port shapes that you can specify in the DSL Definition.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'Declaration
<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
'Usage
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
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.