IDTExtensibility2 Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Hosts the event notifications that occur to add-ins, such as when they are loaded, unloaded, updated, and so forth.
public interface class IDTExtensibility2
public interface class IDTExtensibility2
__interface IDTExtensibility2
[System.Runtime.InteropServices.Guid("B65AD801-ABAF-11D0-BB8B-00A0C90F2744")]
[System.Runtime.InteropServices.TypeLibType(4160)]
public interface IDTExtensibility2
[System.Runtime.InteropServices.Guid("B65AD801-ABAF-11D0-BB8B-00A0C90F2744")]
public interface IDTExtensibility2
[<System.Runtime.InteropServices.Guid("B65AD801-ABAF-11D0-BB8B-00A0C90F2744")>]
[<System.Runtime.InteropServices.TypeLibType(4160)>]
type IDTExtensibility2 = interface
[<System.Runtime.InteropServices.Guid("B65AD801-ABAF-11D0-BB8B-00A0C90F2744")>]
type IDTExtensibility2 = interface
Public Interface IDTExtensibility2
- Attributes
Remarks
IDTExtensibility2 contains methods that act as events when the interface is implemented. Visual Studio calls these methods whenever an event that affects an add-in occurs, such as when it is loaded or unloaded, whenever a change is made to it, and so forth.
Methods
OnAddInsUpdate(Array) |
Occurs whenever an add-in is loaded or unloaded from the Visual Studio integrated development environment (IDE). |
OnBeginShutdown(Array) |
Occurs whenever the Visual Studio integrated development environment (IDE) shuts down while an add-in is running. |
OnConnection(Object, ext_ConnectMode, Object, Array) |
Occurs whenever an add-in is loaded into Visual Studio. |
OnDisconnection(ext_DisconnectMode, Array) |
Occurs whenever an add-in is unloaded from Visual Studio. |
OnStartupComplete(Array) |
Occurs whenever an add-in, which is set to load when Visual Studio starts, loads. |