ArcGIS Pro 2.7 API Reference Guide
AddPart(IEnumerable<Segment>) Method

ArcGIS.Core.Geometry Namespace > MultipartBuilder<T> Class > AddPart Method : AddPart(IEnumerable<Segment>) Method
An enumeration of segments.
Adds a part constructed from the enumeration of segments to the MultipartBuilder. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public virtual void AddPart( 
   IEnumerable<Segment> segments
)
Public Overloads Overridable Sub AddPart( _
   ByVal segments As IEnumerable(Of Segment) _
) 

Parameters

segments
An enumeration of segments.
Exceptions
ExceptionDescription
Incompatible spatial references.
This method or property must be called within the lambda passed to QueuedTask.Run.
segments is null.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

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