Share via


DiagramItem.SetItem Method (LinkShape, LineSegment, AnchorPoint)

Set the DiagramItem to represent the specified LineSegment's anchor point

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 SetItem ( _
    shape As LinkShape, _
    segment As LineSegment, _
    anchorPoint As AnchorPoint _
)
public void SetItem(
    LinkShape shape,
    LineSegment segment,
    AnchorPoint anchorPoint
)
public:
void SetItem(
    LinkShape^ shape, 
    LineSegment^ segment, 
    AnchorPoint^ anchorPoint
)
member SetItem : 
        shape:LinkShape * 
        segment:LineSegment * 
        anchorPoint:AnchorPoint -> unit
public function SetItem(
    shape : LinkShape, 
    segment : LineSegment, 
    anchorPoint : AnchorPoint
)

Parameters

.NET Framework Security

See Also

Reference

DiagramItem Class

SetItem Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace