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


DocumentEvents CoClass (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (ArcMapUI)  

DocumentEvents CoClass

Helper coclass for working with the nondefault outbound IDocumentEvents interface in VB.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Interfaces

Interfaces Description

Event Interfaces

Interfaces Description
IDocumentEvents (default) Provides access to events that occur in ArcMap.

Working with Events

[Visual Basic 6.0]

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

Private WithEvents pDocumentEvents as DocumentEvents