ArcGIS Pro 2.9 API Reference Guide
HomeFolderOption Property

ArcGIS.Desktop.Core Namespace > GeneralOptions Class : HomeFolderOption Property
Gets and sets whether new projects are saved to the default home folder location or a custom location.
Syntax
public OptionSetting HomeFolderOption {get; set;}
Public Property HomeFolderOption As OptionSetting
Remarks
When true, newly created projects are saved to the user profile directory at Documents\ArcGIS\Projects. Set HomeFolderOption to OptionSetting.UseCustom to use a custom location (defined in CustomHomeFolder) instead. Note: attempting to set HomeFolderOption to UseCustom will be ignored if CustomHomeFolder does not already contain a path to a valid folder. To set HomeFolderOption to UseCustom, the CustomHomeFolder must be set first/>.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

GeneralOptions Class
GeneralOptions Members