共用方式為


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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
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

.NET Framework Security

See Also

Reference

LineSegment Class

LineSegment Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace