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

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

    Return Value

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

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

    ArcGIS Pro version: 3.1 or higher.
    See Also