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


MapEvents2 CoClass (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

MapEvents2 CoClass

Map events. Note: this class only provides access to the IMapEvents2 outbound interface.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Interfaces

Interfaces Description

Event Interfaces

Interfaces Description
IMapEvents2 (default) Provides access to events that occur when the state of the map changes.

Working with Events

[Visual Basic 6.0]

When working with MapEvents2's default outbound interface in Visual Basic 6 declare variables as follows:

Private WithEvents pMapEvents2 as MapEvents2