We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

Extensibility Namespace

This namespace contains the IDTExtensibility2 interface. When implemented, its members allow you access to add-in events, such as when an add-in is started or shut down. When you create an add-in project, IDTExtensibility2 is implemented for you automatically. For information about responding to add-in events, see Components of an Add-In Project.

Public interfaceIDTExtensibility2Hosts the event notifications that occur to add-ins, such as when they are loaded, unloaded, updated, and so forth.

Public enumerationext_ConnectModeInforms the add-in about how it was loaded by the integrated development environment (IDE).
Public enumerationext_DisconnectModeInforms the add-in about how it was unloaded by the integrated development environment (IDE).