ArcGIS Pro 2.7 API Reference Guide
GetSegmentBuilder Method

ArcGIS.Core.Geometry Namespace > MultipartBuilder<T> Class : GetSegmentBuilder Method
0 based index of the part. Specify (count - 1) or -1 to get the last part.
0 based index. Specify 0 to get the first segment. Specify (count - 1) or -1 to get the last segment.
Get a SegmentBuilder for the segment at the specified index on the specified part of the MultipartBuilder. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public virtual SegmentBuilder GetSegmentBuilder( 
   int partIndex,
   int segmentIndex
)
Public Overridable Function GetSegmentBuilder( _
   ByVal partIndex As Integer, _
   ByVal segmentIndex As Integer _
) As SegmentBuilder

Parameters

partIndex
0 based index of the part. Specify (count - 1) or -1 to get the last part.
segmentIndex
0 based index. Specify 0 to get the first segment. Specify (count - 1) or -1 to get the last segment.

Return Value

A SegmentBuilder representing the segment specified.
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

MultipartBuilder<T> Class
MultipartBuilder<T> Members