ArcGIS Pro 3.4 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 static IReadOnlyList<string> GetPinnedProjectTemplates()
    Public Shared Function GetPinnedProjectTemplates() As IReadOnlyList(Of String)

    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