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

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

    Return Value

    A list containing the full paths to the .aprxs
    Example
    Get Recent Projects
    {
      var recentProjects = Project.GetRecentProjects();
      // Use recentProjects;
    }
    Requirements

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

    ArcGIS Pro version: 3.0 or higher.
    See Also