ArcGIS Pro 3.7 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 Overloads Sub AddPart( _
       ByVal segments As IEnumerable(Of Segment) _
    ) 
    public void AddPart( 
       IEnumerable<Segment> segments
    )

    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 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also