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

ClearRecentProjectTemplates Method
Clears the list of recent project templates.
Syntax
public static void ClearRecentProjectTemplates()
Example
Clear Recent Project Templates
ArcGIS.Desktop.Core.Project.ClearRecentProjectTemplates();
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3.1 or higher.
See Also