ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MapTool Class / OnSelectionChangedAsync Method
A ArcGIS.Desktop.Mapping.Events.MapSelectionChangedEventArgs that contains the event data.
Version

OnSelectionChangedAsync Method
Occurs when the selection changes in the map.
Syntax
protected virtual Task OnSelectionChangedAsync( 
   MapSelectionChangedEventArgs args
)

Parameters

args
A ArcGIS.Desktop.Mapping.Events.MapSelectionChangedEventArgs that contains the event data.

Return Value

A Task that represents a selection changed event.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also