共用方式為


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.

Interfaces

  Interface Description
Public interface IDTExtensibility2 Hosts the event notifications that occur to add-ins, such as when they are loaded, unloaded, updated, and so forth.

Enumerations

  Enumeration Description
Public enumeration ext_ConnectMode Informs the add-in about how it was loaded by the integrated development environment (IDE).
Public enumeration ext_DisconnectMode Informs the add-in about how it was unloaded by the integrated development environment (IDE).