IDTExtensibility2 Interface
Collapse the table of content
Expand the table of content

IDTExtensibility2 Interface

 

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

Namespace:   Extensibility
Assembly:  Extensibility (in Extensibility.dll)

[GuidAttribute("B65AD801-ABAF-11D0-BB8B-00A0C90F2744")]
public interface IDTExtensibility2

NameDescription
System_CAPS_pubmethodOnAddInsUpdate(Array)

Occurs whenever an add-in is loaded or unloaded from the Visual Studio integrated development environment (IDE).

System_CAPS_pubmethodOnBeginShutdown(Array)

Occurs whenever the Visual Studio integrated development environment (IDE) shuts down while an add-in is running.

System_CAPS_pubmethodOnConnection(Object, ext_ConnectMode, Object, Array)

Occurs whenever an add-in is loaded into Visual Studio.

System_CAPS_pubmethodOnDisconnection(ext_DisconnectMode, Array)

Occurs whenever an add-in is unloaded from Visual Studio.

System_CAPS_pubmethodOnStartupComplete(Array)

Occurs whenever an add-in, which is set to load when Visual Studio starts, loads.

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.

Return to top
Show:
© 2016 Microsoft