DiagramItem Constructor (LinkShape, LineSegment)

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

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

Syntax

'Declaration
Public Sub New ( _
    shape As LinkShape, _
    segment As LineSegment _
)
public DiagramItem(
    LinkShape shape,
    LineSegment segment
)
public:
DiagramItem(
    LinkShape^ shape, 
    LineSegment^ segment
)
new : 
        shape:LinkShape * 
        segment:LineSegment -> DiagramItem
public function DiagramItem(
    shape : LinkShape, 
    segment : LineSegment
)

Parameters

.NET Framework Security

See Also

Reference

DiagramItem Class

DiagramItem Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace