This interface must be implemented in order to create an Add-in. It provides the necessary events required for a program to be an Add-in.
Public Interface IDTExtensibility2 Inherits IDispatch
interface IDTExtensibility2 : IDispatch
public interface IDTExtensibility2 : IDispatch
public interface IDTExtensibility2 extends IDispatch
IDTExtensibility2 is a dual-interface object that provides five methods that act as events within the environment. These methods allow a program to be an Add-in by responding to environment startup and shutdown conditions, Add-in connection events, and so forth.