IExternalApplication.OnStartup Method

IExternalApplicationOnStartup Method

Implement this method to execute some tasks when Autodesk Revit starts.

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
Result OnStartup(
	UIControlledApplication application
)
Function OnStartup ( 
	application As UIControlledApplication
) As Result
Result OnStartup(
	UIControlledApplication^ application
)
abstract OnStartup : 
        application : UIControlledApplication -> Result 

Parameters

application  UIControlledApplication
A handle to the application being started.

Return Value

Result
Indicates if the external application completes its work successfully.
See Also