[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.
Assembly: Microsoft.Office.Tools.Common.v4.0.Utilities (in Microsoft.Office.Tools.Common.v4.0.Utilities.dll)
To run code when the add-in is loaded, add code to the ThisAddIn_Startup method in the ThisAddIn class. This method is a default event handler for the Startup event. For more information, see Events in Office Projects. For more information about the ThisAddIn class, see Programming Application-Level Add-Ins.
- 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.