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

    Return Value

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

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.1 or higher.
    See Also