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

ArcGIS.Core.Geometry Namespace > MultipointBuilder Class > Add Method : Add(IEnumerable<Segment>) Method
The segments to add.
Add the vertices of the segments in the enumeration to the point collection. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public void Add( 
   IEnumerable<Segment> segments
)
Public Overloads Sub Add( _
   ByVal segments As IEnumerable(Of Segment) _
) 

Parameters

segments
The segments to add.
Exceptions
ExceptionDescription
Incompatible spatial references.
This method or property must be called within the lambda passed to QueuedTask.Run.
segments is null.
Remarks
If the end point of a segment is equal to the start point of the next segment, then that point is added only once.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

MultipointBuilder Class
MultipointBuilder Members
Overload List