Share via


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)

Syntax

'Declaration
<GuidAttribute("B65AD801-ABAF-11D0-BB8B-00A0C90F2744")> _
Public Interface IDTExtensibility2
'Usage
Dim instance As IDTExtensibility2
[GuidAttribute("B65AD801-ABAF-11D0-BB8B-00A0C90F2744")]
public interface IDTExtensibility2
[GuidAttribute(L"B65AD801-ABAF-11D0-BB8B-00A0C90F2744")]
public interface class IDTExtensibility2
public interface IDTExtensibility2

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.

Examples

Implements IDTExtensibility2 
public class Connect : Object, IDTExtensibility2

See Also

Reference

IDTExtensibility2 Members

Extensibility Namespace

OnConnection

OnDisconnection

OnAddInsUpdate

OnBeginShutdown

OnStartupComplete

Other Resources

How to: Create an Add-In