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

In This Topic
    GetPinnedProjectTemplates Method
    In This Topic
    Retrieves the list of pinned project templates.
    Syntax
    Public Shared Function GetPinnedProjectTemplates() As IReadOnlyList(Of String)
    public static IReadOnlyList<string> GetPinnedProjectTemplates()

    Return Value

    A list containing the full paths to the .aptx's
    Example
    Get Pinned Project Templates
    {
      var pinnedTemplates = Project.GetPinnedProjectTemplates();
      // Use pinnedTemplates;
    }
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.1 or higher.
    See Also