ArcGIS Pro 2.9 API Reference Guide
DefaultToolboxOption Property

ArcGIS.Desktop.Core Namespace > GeneralOptions Class : DefaultToolboxOption Property
Gets and sets whether new projects are created with a new toolbox or with an existing toolbox.
Syntax
public OptionSetting DefaultToolboxOption {get; set;}
Public Property DefaultToolboxOption As OptionSetting
Remarks
When set to OptionSetting.UseDefault, newly created projects are created with a new default toolbox. Set DefaultToolboxOption to OptionSetting.UseCustom to use a path to an existing toolbox (defined in CustomDefaultToolbox) instead. Note: attempting to set DefaultToolboxOption to UseCustom will be ignored if ProjectCustomDefaultToolbox does not already contain a path to a valid toolbox. To set DefaultToolboxOption to UseCustom, the ProjectCustomDefaultToolbox must be set first/>.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

GeneralOptions Class
GeneralOptions Members