Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Constructor that takes the parent LinkShape and indices for the two end points.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.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.LinkShape
LinkShape this segment belongs to.
- indexStart
Type: System.Int32
segment's starting point.
- indexEnd
Type: System.Int32
segment'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.