|IArcToolboxExtension||Provides access to methods on the ArcToolbox extension object.|
|IDocumentEvents (esriArcMapUI)||Provides access to events that occur in ArcMap.|
|IExtension (esriSystem)||Provides access to members that define an extension.|
|IGxDocumentEvents (esriArcCatalog)||Provides access to events fired by ArcCatalog.|
|IPersist||Defines the single method GetClassID, which is designed to supply the CLSID of an object that can be stored persistently in the system. IPersist is the base interface for three other interfaces: IPersistStorage, IPersistStream, and IPersistFile.|
The ArcToolboxExtension coclass is used to work with the ArcToolbox inside the applications ArcCatalog, ArcMap, and ArcGlobe. The ArcToolboxExtension object provides access to the toolboxes inside the ArcToolbox, among them 3D Analyst, Data Management, Network Analyst, etc.
To obtain a reference to the ArcToolboxExtension, use IApplication::FindExtensionbyCLSID or IApplication::FindExtensionByName.
The following code example shows how to use these method to acquire a reference of type IArcToolboxExtension to the ArcToolboxExtension object.
Sub GetArcToolboxExtension() Dim pUID As New UID pUID.Value = "esriGeoprocessingUI.ArcToolboxExtension" Dim pArcToolboxExtension As IArcToolboxExtension Set pArcToolboxExtension = Application.FindExtensionByCLSID(pUID) End Sub