Aracılığıyla paylaş


AddInBase.OnStartup Method

Definition

protected:
 virtual void OnStartup();
protected virtual void OnStartup ();
abstract member OnStartup : unit -> unit
override this.OnStartup : unit -> unit
Protected Overridable Sub OnStartup ()

Remarks

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 VSTO Add-Ins.

Applies to