LineSegment Constructor (LinkShape, Int32, Int32)
Constructor that takes the parent LinkShape and indices for the two end points.
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 ( _
linkShape As LinkShape, _
indexStart As Integer, _
indexEnd As Integer _
)
public LineSegment(
LinkShape linkShape,
int indexStart,
int indexEnd
)
public:
LineSegment(
LinkShape^ linkShape,
int indexStart,
int indexEnd
)
new :
linkShape:LinkShape *
indexStart:int *
indexEnd:int -> LineSegment
public function LineSegment(
linkShape : LinkShape,
indexStart : int,
indexEnd : int
)
Parameters
linkShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.LinkShapeLinkShape this segment belongs to.
indexStart
Type: System.Int32segment's starting point.
indexEnd
Type: System.Int32segment's end point.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.