ArcGIS Pro 2.7 API Reference Guide
IsDefault Property (Item)

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

See Also

Reference

Item Class
Item Members