ArcGIS Pro 2.8 API Reference Guide
Merge(Layer,IEnumerable<Int64>,Inspector) Method

ArcGIS.Desktop.Editing Namespace > EditOperation Class > Merge Method : Merge(Layer,IEnumerable<Int64>,Inspector) Method
The layer of the features to merge.
The oids of the features to merge.
An inspector that specifies the new feature attributes.
Merge features within a layer into a new feature with attributes.
Syntax
Public Overloads Sub Merge( _
   ByVal layer As Layer, _
   ByVal sourceOIDs As IEnumerable(Of Long), _
   Optional ByVal inspector As Inspector _
) 

Parameters

layer
The layer of the features to merge.
sourceOIDs
The oids of the features to merge.
inspector
An inspector that specifies the new feature attributes.
Exceptions
ExceptionDescription
Layer and ObjectIDs cannot be null. List of ObjectIDs cannot be empty.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

EditOperation Class
EditOperation Members
Overload List