This document is archived and information here might be outdated.  Recommended version.


IMapControlEvents2.OnSelectionChanged Event (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IM > IMapControlEvents2 Interface > IMapControlEvents2.OnSelectionChanged Event
ArcGIS Developer Help

IMapControlEvents2.OnSelectionChanged Event

Fires when the current selection changes.

[Visual Basic .NET]
Public Event OnSelectionChanged As OnSelectionChangedEventHandler
[C#]
public event OnSelectionChangedEventHandler OnSelectionChanged
[C++]
HRESULT OnSelectionChanged(
void
);

Product Availability

Available with ArcGIS Engine.

Description

OnSelectionChanged is triggered when the geographic selection of features in the IMapControl2::Map layers change.

See Also

IMapControlEvents2 Interface