ArcGIS Developer Help  (System)    

IExtensionManager Interface

Provides access to members that query extension.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Members

Description
Read-only property Extension The extension at the specified index.
Read-only property ExtensionCLSID The CLSID of the extension at the specified index.
Read-only property ExtensionCount The number of extensions loaded in the application.
Method FindExtension Finds the extension by CLSID (IUID) or name (String).

CoClasses that implement IExtensionManager

CoClasses and Classes Description
Application (esriArcCatalog) ESRI ArcCatalog Application.
Application (esriArcGlobe) ESRI ArcGlobe Application.
Application (esriArcMap) ESRI ArcMap Application
Application (esriArcScene) The 3D Modeling Application.
DddEnvironment (esri3DAnalystUI) 3D Environment singleton object.
Editor (esriEditor) The Object Editor Extension.
ExtensionManager Extension Manager - a singleton.
SAExtension (esriSpatialAnalystUI) Spatial Analyst Extension Object.

Remarks

The Application object implements the IExtensionManager interface that has properties to get a reference to a particular extension and to get a count of how many extension are currently loaded.

Note, other types of objects can also implement IExtensionManager. For example, the Editor toolbar in ArcMap is an extension that manages editor extensions. Therefore, the Editor object also implements IExtensionManager.

See About Extensions for more details.

[Visual Basic 6.0]

To get access to the application extension manager, do a QueryInterface (QI) for IExtensionManager on Application. This can be coded as follows:

Dim pExtMgr As IExtensionManager
Set pExtMgr = Application

You can also get a reference using the ExtensionManager coclass.

Dim pExtMgr As IExtensionManager
Set pExtMgr = New ExtensionManager

See Also

IExtension Interface | IExtensionManagerAdmin Interface | IExtensionConfig Interface | ExtensionManager Class

Example

IExtensionManager Example

 


Feedback Send feedback on this page