ArcGIS Pro 3.0 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.

In This Topic
    Combine Method
    In This Topic
    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, Windows 8.1

    See Also