ArcGIS Pro 2.6 API Reference Guide
IsDefault Property

ArcGIS.Desktop.Core Namespace > Item Class : IsDefault Property
Gets if the item has been set as a default for this project
Syntax
public bool IsDefault {get;}
Public ReadOnly Property IsDefault As Boolean
Remarks
For example, the project's home folder, default toolbox, and default geodatabase are default items.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

Item Class
Item Members