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