ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Core Namespace / Project Class / ClearRecentProjects Method
Example Version

ClearRecentProjects Method
Clears the list of recent projects.
Syntax
public static void ClearRecentProjects()
Example
Clear Recent Projects
ArcGIS.Desktop.Core.Project.ClearRecentProjects();
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also