Freigeben über


AddInBase Constructor

This API supports the Visual Studio 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)

Syntax

'Declaration
Protected Sub New ( _
    factory As Factory, _
    serviceProvider As IServiceProvider, _
    primaryCookie As String, _
    identifier As String _
)
protected AddInBase(
    Factory factory,
    IServiceProvider serviceProvider,
    string primaryCookie,
    string identifier
)

Parameters

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 Application-Level Add-Ins.

.NET Framework Security

See Also

Reference

AddInBase Class

Microsoft.Office.Tools Namespace