BinaryLinkShapeBase Class
Abstract base class for BinaryLinkShape.
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.BinaryLinkShape.DisplayName", _
GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.BinaryLinkShape.Description", _
GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<CLSCompliantAttribute(True)> _
<DomainObjectIdAttribute("3982818b-6e6b-4932-a4ec-b89740a38063")> _
Public MustInherit Class BinaryLinkShapeBase _
Inherits LinkShape _
Implements IBinaryLinkGeometryData
'Usage
Dim instance As BinaryLinkShapeBase
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.BinaryLinkShape.DisplayName",
typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.BinaryLinkShape.Description",
typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[CLSCompliantAttribute(true)]
[DomainObjectIdAttribute("3982818b-6e6b-4932-a4ec-b89740a38063")]
public abstract class BinaryLinkShapeBase : LinkShape,
IBinaryLinkGeometryData
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.BinaryLinkShape.DisplayName",
typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.BinaryLinkShape.Description",
typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[CLSCompliantAttribute(true)]
[DomainObjectIdAttribute(L"3982818b-6e6b-4932-a4ec-b89740a38063")]
public ref class BinaryLinkShapeBase abstract : public LinkShape,
IBinaryLinkGeometryData
public abstract class BinaryLinkShapeBase extends LinkShape implements IBinaryLinkGeometryData
Remarks
This is the abstract base class for BinaryLinkShape.
BinaryLinkShape is the class from which all connector shapes derive. When you define a connector class in the DSL Definition, its default base class is BinaryLinkShape, unless you explicitly specify another connector class as the base.
A BinaryLinkShape is usually the graphical representation of an instance of a domain relationship. The domain relationship represents conceptual information, and the link shape or connector represents its visible appearance on the diagram. In the DSL Definition, you define a Diagram Element Map between the connector class and the domain relationship. At run time, you can access the domain relationship instance by using the property ModelElement. To navigate from one element to another, it is usually better to navigate first to the model element and then traverse the domain relationships, instead of traversing connectors on the diagram.
For more information and examples, see How to: Access a Presentation Element from a Model Element.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.ModelElement
Microsoft.VisualStudio.Modeling.Diagrams.PresentationElement
Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
Microsoft.VisualStudio.Modeling.Diagrams.LinkShape
Microsoft.VisualStudio.Modeling.Diagrams.BinaryLinkShapeBase
Microsoft.VisualStudio.Modeling.Diagrams.BinaryLinkShape
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.Modeling.Diagrams Namespace
Change History
Date |
History |
Reason |
---|---|---|
Added descriptions to members |
Customer feedback. |