Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
- factory
Type: Microsoft.Office.Tools.Factory
- serviceProvider
Type: System.IServiceProvider
- primaryCookie
Type: System.String
- identifier
Type: System.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 Application-Level Add-Ins.
.NET Framework Security
- 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.