ArcGIS Pro 2.7 API Reference Guide
AddParts Method

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

Parameters

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

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

MultipartBuilder<T> Class
MultipartBuilder<T> Members