DiagramItem Constructor (LinkShape, LineSegment, AnchorPoint)

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

Syntax

'宣言
Public Sub New ( _
    shape As LinkShape, _
    segment As LineSegment, _
    anchorPoint As AnchorPoint _
)
'使用
Dim shape As LinkShape
Dim segment As LineSegment
Dim anchorPoint As AnchorPoint

Dim instance As New DiagramItem(shape, segment, _
    anchorPoint)
public DiagramItem(
    LinkShape shape,
    LineSegment segment,
    AnchorPoint anchorPoint
)
public:
DiagramItem(
    LinkShape^ shape, 
    LineSegment^ segment, 
    AnchorPoint^ anchorPoint
)
public function DiagramItem(
    shape : LinkShape, 
    segment : LineSegment, 
    anchorPoint : AnchorPoint
)

Parameters

Permissions

See Also

Reference

DiagramItem Class

DiagramItem Members

DiagramItem Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace