AddInBase.Startup Event
Occurs when the add-in is loaded, after all the initialization code in the assembly has run.
Namespace: Microsoft.Office.Tools
Assembly: Microsoft.Office.Tools.Common.v4.0.Utilities (in Microsoft.Office.Tools.Common.v4.0.Utilities.dll)
Syntax
'Declaration
Public Event Startup As EventHandler
public event EventHandler Startup
Remarks
Use the default Startup event handler in the ThisAddIn class, instead of creating your own event handler for this event. The default Startup event handler is named ThisAddIn_Startup.
For more information about, see Events in Office Projects. For more information about the ThisAddIn class, 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.