ArcGIS Pro 2.9 API Reference Guide
StartupOption Property

ArcGIS.Desktop.Core Namespace > GeneralOptions Class : StartupOption Property
Gets and sets the application startup mode.
Syntax
public StartProjectMode StartupOption {get; set;}
Public Property StartupOption As StartProjectMode
Remarks
Attempting to set StartupOption to StartProjectMode.WithDefaultProject will be ignored if StartupProjectPath does not contain a path to a valid .aprx. To set StartupOption to StartProjectMode.WithDefaultProject, the StartupProjectPath must be set first/>.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

GeneralOptions Class
GeneralOptions Members