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

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

IMapEvents 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.


Name Description
Method FeatureClassChanged Fired when the feature class changes.
Method VersionChanged Fired when the version changes.

Classes that implement IMapEvents

Classes Description
CadastralEditorExtension (esriCadastralUI) Cadastral Editor Extension Object.
HistoryViewerWindow (esriArcMapUI) History Viewer Window
Map A container for the display and manipulation of map data.
MapEvents Helper coclass for working with the nondefault outbound IMapEvents interface in VB.
MapEventsListener (esriSystemUtility) Helper coclass to provide IMapEvents support to the C++ API.


The IMapEvents interface is exposed off the Map object, enabling clients to listen and respond to two events occurring inside a map: FeatureClassChanged and VersionChanged. Both of these events are related to changing the version the map�s layers are working with.