AddInBase(Factory, IServiceProvider, String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
protected:
AddInBase(Microsoft::Office::Tools::Factory ^ factory, IServiceProvider ^ serviceProvider, System::String ^ primaryCookie, System::String ^ identifier);
protected AddInBase (Microsoft.Office.Tools.Factory factory, IServiceProvider serviceProvider, string primaryCookie, string identifier);
new Microsoft.Office.Tools.AddInBase : Microsoft.Office.Tools.Factory * IServiceProvider * string * string -> Microsoft.Office.Tools.AddInBase
Protected Sub New (factory As Factory, serviceProvider As IServiceProvider, primaryCookie As String, identifier As String)
Parameters
- factory
- Factory
- serviceProvider
- IServiceProvider
- primaryCookie
- String
- identifier
- String
Remarks
You cannot create AddInBase host items programmatically. Instead, use the ThisAddIn
class that is automatically created in your add-in project. The ThisAddIn
class derives from AddInBase. For more information, see Programming VSTO Add-Ins.