ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Core Namespace / Project Class / UnpinTemplateProject Method
The path of the project template entry to be unpinned.
Example Version

UnpinTemplateProject Method
Unpins a project template.
Syntax
public static void UnpinTemplateProject( 
   string path
)

Parameters

path
The path of the project template entry to be unpinned.
Remarks
After unpinning, the project template is added to the recent project template list.
Example
Pin / UnPin Project Templates
ArcGIS.Desktop.Core.Project.PinProjectTemplate(templatePath);
ArcGIS.Desktop.Core.Project.UnpinTemplateProject(templatePath2);
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3.1 or higher.
See Also