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

GetPinnedProjectTemplates Method
Retrieves the list of pinned project templates.
Syntax
public static IReadOnlyList<string> GetPinnedProjectTemplates()

Return Value

A list containing the full paths to the .aptx's
Example
Get Pinned Project Templates
var pinnedTemplates = ArcGIS.Desktop.Core.Project.GetPinnedProjectTemplates();
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3.1 or higher.
See Also