AddInBase Constructor
Collapse the table of content
Expand the table of content

AddInBase Constructor (Factory, IServiceProvider, String, String)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Namespace:   Microsoft.Office.Tools
Assembly:  Microsoft.Office.Tools.Common.v4.0.Utilities (in Microsoft.Office.Tools.Common.v4.0.Utilities.dll)

protected AddInBase(
	Factory factory,
	IServiceProvider serviceProvider,
	string primaryCookie,
	string identifier
)

Parameters

factory
Type: Microsoft.Office.Tools.Factory
serviceProvider
Type: System.IServiceProvider
primaryCookie
Type: System.String
identifier
Type: System.String

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.

Return to top
Show:
© 2016 Microsoft