ArcGIS Pro 2.7 API Reference Guide
SetSelection Method (Map)

ArcGIS.Desktop.Mapping Namespace > Map Class : SetSelection Method
The collection of layers and tables and their corresponding object ids used to set the map selection.
Combination method used in the selection operation.
Set the selection in the map. This method must be called on the MCT. Use QueuedTask.Run
Syntax

Parameters

mapMemberIds
The collection of layers and tables and their corresponding object ids used to set the map selection.
method
Combination method used in the selection operation.
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Remarks
The selection created in the map.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Map Class
Map Members