Provides the base class for the
ThisAddIn class in application-level add-ins that you create by using Visual Studio.
[System.ComponentModel.ToolboxItem(false)] public abstract class AddInBase : IDisposable, Microsoft.Office.Tools.IAddInExtension, System.ComponentModel.IComponent, System.ComponentModel.ISupportInitialize, System.Windows.Forms.IBindableComponent
The AddInBase class provides functionality that is shared by all add-ins that you create by using the Office development tools in Visual Studio. The
ThisAddIn class in add-in projects derives most of its members from the AddInBase class. For more information, see Programming VSTO Add-Ins.
This type is used only in Office projects that target the .NET Framework 4 or later. The assembly that defines this type is not part of the Visual Studio Tools for Office runtime. You must deploy this assembly with your solution. For more information, see Assemblies in the Visual Studio Tools for Office Runtime.
|AddInBase(Factory, IServiceProvider, String, String)|
Returns an object that implements the
Releases the resources used by the AddInBase.
Returns an object in your add-in that can be used by other solutions.
Returns an object that extends a feature in a Microsoft Office application.
Occurs when the add-in is about to be unloaded.
Occurs when the add-in is loaded, after all the initialization code in the assembly has run.