ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Core.Geometry Namespace / MultipartBuilderEx Class / AddPart Method / AddPart(IEnumerable<Segment>) Method
An enumeration of segments.

In This Topic
    AddPart(IEnumerable<Segment>) Method
    In This Topic
    Adds a part constructed from the enumeration of segments to the MultipartBuilderEx. The part will be added to the end of the Parts list.
    Syntax
    public void AddPart( 
       IEnumerable<Segment> segments
    )
    Public Overloads Sub AddPart( _
       ByVal segments As IEnumerable(Of Segment) _
    ) 

    Parameters

    segments
    An enumeration of segments.
    Exceptions
    ExceptionDescription
    segments is null.
    Remarks
    The spatial reference of each segment is ignored.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also