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


GxDocument Class for use with ArcCatalog (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (ArcCatalog)  

GxDocument Class

Esri ArcCatalog Application Document.

GxDocument is a non-creatable object. References to non-creatable objects must be obtained through other objects.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Interfaces

Interfaces Description
IDocument (esriFramework) Provides access to other objects in the document.

Event Interfaces

Interfaces Description
IGxDocumentEventsDisp (default) Provides access to events fired by ArcCatalog.
IGxDocumentEvents Provides access to events fired by ArcCatalog.

Working with Events

[Visual Basic 6.0]

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

Private WithEvents pGxDocument as GxDocument

When implementing IGxDocumentEvents declare variables as follows:

Private WithEvents pGxDocumentEvents as GxDocumentEvents