Compartilhar via


DiagramItem Constructor (LinkShape, LineSegment, AnchorPoint)

Initializes a new instance of the DiagramItem class to represent the specified AnchorPoint.

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

Syntax

'Declaração
Public Sub New ( _
    shape As LinkShape, _
    segment As LineSegment, _
    anchorPoint As AnchorPoint _
)
public DiagramItem(
    LinkShape shape,
    LineSegment segment,
    AnchorPoint anchorPoint
)
public:
DiagramItem(
    LinkShape^ shape, 
    LineSegment^ segment, 
    AnchorPoint^ anchorPoint
)
new : 
        shape:LinkShape * 
        segment:LineSegment * 
        anchorPoint:AnchorPoint -> DiagramItem
public function DiagramItem(
    shape : LinkShape, 
    segment : LineSegment, 
    anchorPoint : AnchorPoint
)

Parameters

.NET Framework Security

See Also

Reference

DiagramItem Class

DiagramItem Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace