AddInBase Class
Provides the base class for the ThisAddIn class in application-level add-ins that you create by using Visual Studio.
Assembly: Microsoft.Office.Tools.Common.v4.0.Utilities (in Microsoft.Office.Tools.Common.v4.0.Utilities.dll)
| Name | Description | |
|---|---|---|
![]() | AddInBase(Factory^, IServiceProvider^, String^, String^) | This API supports the product infrastructure and is not intended to be used directly from your code. |
| Name | Description | |
|---|---|---|
![]() | Base | Gets the AddIn object that this AddInBase object extends. |
![]() | BindingContext | This API supports the product infrastructure and is not intended to be used directly from your code. |
![]() | DataBindings | This API supports the product infrastructure and is not intended to be used directly from your code. |
![]() | DataHost | This API supports the product infrastructure and is not intended to be used directly from your code. |
![]() | 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 | This API supports the product infrastructure and is not intended to be used directly from your code. |
![]() | Tag | This API supports the product infrastructure and is not intended to be used directly from your code. |
| Name | Description | |
|---|---|---|
![]() | BeginInit() | This API supports the product infrastructure and is not intended to be used directly from your code. |
![]() | CreateRibbonExtensibilityObject() | Returns an object that implements the Microsoft.Office.Core.IRibbonExtensibility interface. |
![]() | CreateRibbonObjects() | Returns an array of IRibbonExtension objects to the CreateRibbonExtensibilityObject method. The objects represent the Ribbons to display at run time. |
![]() | Dispose() | Releases the resources used by the AddInBase. |
![]() | EndInit() | This API supports the product infrastructure and is not intended to be used directly from your code. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | FinishInitialization() | This API supports the product infrastructure and is not intended to be used directly from your code. |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetHostItem<T>(Type^, String^) | This API supports the product infrastructure and is not intended to be used directly from your code. |
![]() | GetType() | (Inherited from Object.) |
![]() | Initialize() | This API supports the product infrastructure and is not intended to be used directly from your code. |
![]() | InitializeDataBindings() | This API supports the product infrastructure and is not intended to be used directly from your code. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | OnShutdown() | This API supports the product infrastructure and is not intended to be used directly from your code. |
![]() | OnStartup() | This API supports the product infrastructure and is not intended to be used directly from your code. |
![]() | RequestComAddInAutomationService() | Returns an object in your add-in that can be used by other solutions. |
![]() | RequestService(Guid) | Returns an object that extends a feature in a Microsoft Office application. |
![]() | ToString() | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | BindingContextChanged | This API supports the product infrastructure and is not intended to be used directly from your code. |
![]() | Disposed | This API supports the product infrastructure and is not intended to be used directly from your code. |
![]() | 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. |
| Name | Description | |
|---|---|---|
![]() ![]() | EntryPoint::BeginInit() | This API supports the product infrastructure and is not intended to be used directly from your code. |
![]() ![]() | EntryPoint::EndInit() | This API supports the product infrastructure and is not intended to be used directly from your code. |
![]() ![]() | EntryPoint::FinishInitialization() | This API supports the product infrastructure and is not intended to be used directly from your code. |
![]() ![]() | EntryPoint::Initialize() | This API supports the product infrastructure and is not intended to be used directly from your code. |
![]() ![]() | EntryPoint::InitializeDataBindings() | This API supports the product infrastructure and is not intended to be used directly from your code. |
![]() ![]() | EntryPoint::OnShutdown() | This API supports the product infrastructure and is not intended to be used directly from your code. |
![]() ![]() | EntryPoint::OnStartup() | This API supports the product infrastructure and is not intended to be used directly from your code. |
![]() ![]() | IAddInExtension::CreateRibbonExtensibilityObject() | This API supports the product infrastructure and is not intended to be used directly from your code. |
![]() ![]() | IAddInExtension::CreateRibbonObjects() | This API supports the product infrastructure and is not intended to be used directly from your code. |
![]() ![]() | IAddInExtension::RequestComAddInAutomationService() | This API supports the product infrastructure and is not intended to be used directly from your code. |
![]() ![]() | IAddInExtension::RequestService(Guid) | This API supports the product infrastructure and is not intended to be used directly from your code. |
![]() ![]() | IExtension::ExtensionBase |
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.
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.






