ArcGIS Pro 2.8 API Reference Guide
AddSegment(Segment,Boolean) Method

ArcGIS.Core.Geometry Namespace > MultipartBuilder<T> Class > AddSegment Method : AddSegment(Segment,Boolean) Method
The segment to add.
(Optional) Specifies whether a new part is to be started. The default value is false.
Adds a segment to the end of the last part of the MultipartBuilder. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public virtual void AddSegment( 
   Segment segment,
   bool startNewPart
)
Public Overloads Overridable Sub AddSegment( _
   ByVal segment As Segment, _
   Optional ByVal startNewPart As Boolean _
) 

Parameters

segment
The segment to add.
startNewPart
(Optional) Specifies whether a new part is to be started. The default value is false.
Exceptions
ExceptionDescription
Incompatible spatial references.
This method or property must be called within the lambda passed to QueuedTask.Run.
segment is null.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

MultipartBuilder<T> Class
MultipartBuilder<T> Members
Overload List