Compartir a través de


AddInBase.OnStartup (Método)

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 Overridable Sub OnStartup
protected virtual void OnStartup()

Comentarios

Para ejecutar código cuando se cargue el complemento, agregue el código al método ThisAddIn_Startup de la clase ThisAddIn. Este método es un controlador de eventos predeterminado para el evento Startup. Para obtener más información, vea Eventos de los proyectos de Office. Para obtener más información sobre la clase ThisAddIn, vea Programar complementos de nivel de aplicación.

Seguridad de .NET Framework

Vea también

Referencia

AddInBase Clase

Microsoft.Office.Tools (Espacio de nombres)