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


IMapEvents Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapEvents Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

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.

Members

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

CoClasses that implement IMapEvents

CoClasses and 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.

Remarks

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.