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.

In This Topic
    OnSelectionChangedAsync Method
    In This Topic
    Occurs when the selection changes in the map.
    Syntax
    protected virtual Task OnSelectionChangedAsync( 
       MapSelectionChangedEventArgs args
    )
    Protected Overridable Function OnSelectionChangedAsync( _
       ByVal args As MapSelectionChangedEventArgs _
    ) As Task

    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