AddIn Interface
Defines the core functionality of add-ins that you create by using the Office development tools in Visual Studio.
Assembly: Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)
| Name | Description | |
|---|---|---|
![]() | BindingContext | (Inherited from IBindableComponent.) |
![]() | DataBindings | (Inherited from IBindableComponent.) |
![]() | DataHost | This API supports the product infrastructure and is not intended to be used directly from your code. |
![]() | DefaultExtension | Gets the default extension for this AddIn object. |
![]() | Extension | Gets a custom extension for this AddIn object. |
![]() | HostContext | This API supports the product infrastructure and is not intended to be used directly from your code. |
![]() | ItemProvider | This API supports the product infrastructure and is not intended to be used directly from your code. |
![]() | Site | (Inherited from IComponent.) |
![]() | Tag | This API supports the product infrastructure and is not intended to be used directly from your code. |
| Name | Description | |
|---|---|---|
![]() | Dispose() | (Inherited from IDisposable.) |
| Name | Description | |
|---|---|---|
![]() | BindingContextChanged | This API supports the product infrastructure and is not intended to be used directly from your code. |
![]() | Disposed | (Inherited from IComponent.) |
![]() | Shutdown | Occurs when the add-in is about to be unloaded. |
![]() | Startup | Occurs when the add-in is loaded, after all the initialization code in the assembly has run. |
When you create an application-level add-in by using the Office development tools in Visual Studio, you typically do not use the AddIn interface directly. Instead, use the generated ThisAddIn class in your project. The ThisAddIn class derives most of its members from the AddInBase class. This base class redirects all calls to its members to an internal implementation of the AddIn interface in the Visual Studio Tools for Office runtime.
For more information, see Programming VSTO Add-Ins.
Note |
|---|
This interface is implemented by the Visual Studio Tools for Office runtime. It is not intended to be implemented in your code. For more information, see Visual Studio Tools for Office Runtime Overview. |
This documentation describes the version of this type that is used in Office projects that target the .NET Framework 4 or later. In projects that target the .NET Framework 3.5, this type might have different members and the code examples provided for this type might not work. For documentation about this type in projects that target the .NET Framework 3.5, see the following reference section in the Visual Studio 2008 documentation: http://go.microsoft.com/fwlink/?LinkId=160658.



