ArcObjects Library Reference (Framework)  

AppROT CoClass

ESRI application running object table.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Interfaces

Interfaces Description
IAppROT Provides access to members that manipulate the ESRI application running object table, AppROT.
IConnectionPointContainer Supports connection points for connectable objects.

Event Interfaces

Interfaces Description
IAppROTEvents (default) Provides access to events that occur on the ESRI application running object table.

Remarks

The AppROT, or application running object table, is used as a global list of all currently running ESRI ArcGIS applications. The AppROT only contains application objects which implement ESRI's IApplication interface. ArcMap, ArcCatalog, and all future ESRI ArcGIS applications will automatically register themselves in this table when run and will remove themselves from the table when they exit, thus a complete list of all running applications at any given moment can be obtained using this object. In addition, developers creating their own "stand-alone" applications using ArcObjects are free to leverage off this mechanism by creating their own implementation of IApplication and registering themselves in the AppROT.

Working with Events

[Visual Basic 6.0]

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

Private WithEvents pAppROT as AppROT