ArcGIS Pro 3.5 API Reference Guide
ArcGIS.Core.Data.UtilityNetwork Namespace / UtilityNetwork Class / Combine Method
Elements to combine.

In This Topic
    Combine Method (UtilityNetwork)
    In This Topic
    Combines the elements. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public CombineResult Combine( 
       IEnumerable<GroupedElement> groupedElements
    )
    Public Function Combine( _
       ByVal groupedElements As IEnumerable(Of GroupedElement) _
    ) As CombineResult

    Parameters

    groupedElements
    Elements to combine.

    Return Value

    Information about the combined element.
    Exceptions
    ExceptionDescription
    The list of elements are not valid for combine.
    This operation must be called within an edit operation. For stand-alone CoreHost applications, wrap this call within ArcGIS.Core.Data.Geodatabase.ApplyEdits.
    A geodatabase-related exception has occurred.
    Remarks
    For stand-alone CoreHost applications, calls to this method should be enclosed within a call to ArcGIS.Core.Data.Geodatabase.ApplyEdits.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.5 or higher.
    See Also