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


IMapEvents2 Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapEvents2 Interface
ArcGIS Developer Help

IMapEvents2 Interface

Provides access to events that occur when the state of the map changes.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Members

Name Description
Method ActiveGraphicsLayerChanged Fired when the active graphics layer changes.
Method TableChanged Fired when the table object changes.

Classes that implement IMapEvents2

Classes Description
MapEvents2 Map events. Note: this class only provides access to the IMapEvents2 outbound interface.
MapEvents2Listener (esriSystemUtility) Helper coclass to provide IMapEvents2 support to the C++ API.

Remarks

The IMapEvents2 interface is exposed off the Map object, enabling clients to listen and respond to two events occurring inside a map: ActiveGraphicsLayerChanged and TableChanged.