Factory.CreateAddIn Method
Visual Studio 2012
This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.
Namespace:
Microsoft.Office.ToolsAssemblies: Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)
Microsoft.Office.Tools.Common.v4.0.Utilities (in Microsoft.Office.Tools.Common.v4.0.Utilities.dll)
AddIn CreateAddIn( IServiceProvider serviceProvider, IHostItemProvider hostItemProvider, string primaryCookie, string identifier, Object containerComponent, IAddInExtension extension )
Parameters
- serviceProvider
- Type: IServiceProvider
- hostItemProvider
- Type: Microsoft.Office.Tools.IHostItemProvider
- primaryCookie
- Type: String
- identifier
- Type: String
- containerComponent
- Type: Object
- extension
- Type: Microsoft.Office.Tools.IAddInExtension
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.