Compartir a través de


AddInBase (Constructor)

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

Espacio de nombres:  Microsoft.Office.Tools
Ensamblado:  Microsoft.Office.Tools.Common.v4.0.Utilities (en Microsoft.Office.Tools.Common.v4.0.Utilities.dll)

Sintaxis

'Declaración
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
)

Parámetros

Comentarios

No se pueden crear elementos de host de AddInBase mediante programación. En su lugar, utilice la clase ThisAddIn que se crea automáticamente en el proyecto de complemento. La clase ThisAddIn se deriva de AddInBase. Para obtener más información, vea Programar complementos de nivel de aplicación.

Seguridad de .NET Framework

Vea también

Referencia

AddInBase Clase

Microsoft.Office.Tools (Espacio de nombres)