ArcGIS Pro 2.7 API Reference Guide
OnSelectionChangedAsync Method

ArcGIS.Desktop.Mapping Namespace > MapTool Class : OnSelectionChangedAsync Method
A ArcGIS.Desktop.Mapping.Events.MapSelectionChangedEventArgs that contains the event data.
Occurs when the selection changes in the map.
Syntax
protected virtual Task OnSelectionChangedAsync( 
   MapSelectionChangedEventArgs e
)
Protected Overridable Function OnSelectionChangedAsync( _
   ByVal e As MapSelectionChangedEventArgs _
) As Task

Parameters

e
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 10, Windows 8.1

See Also

Reference

MapTool Class
MapTool Members