ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Data Namespace / Selection Class / Combine Method
The second selection on which the operation will be applied.
The operation to be applied on the selections.
Version

Combine Method
Combines this selection with another selection using the specified SetOperation. This method must be called on the MCT. Use QueuedTask.Run.
Syntax

Parameters

otherSelection
The second selection on which the operation will be applied.
setOperation
The operation to be applied on the selections.

Return Value

A selection satisfying the requested setOperation.
Exceptions
ExceptionDescription
otherSelection is null.
The SelectionType of this instance of selection is different from that of otherSelection.
A geodatabase-related exception has occurred.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also