ArcGIS Pro 3.5 API Reference Guide
ArcGIS.Desktop.Core Namespace / Project Class / RemoveRecentProject Method
The path to the aprx of a local project entry or the url of a portal project entry that is to be removed
Example

In This Topic
    RemoveRecentProject Method
    In This Topic
    Removes the project entry corresponding to the given input path from the recent list of projects
    Syntax
    public static void RemoveRecentProject( 
       string path
    )
    Public Shared Sub RemoveRecentProject( _
       ByVal path As String _
    ) 

    Parameters

    path
    The path to the aprx of a local project entry or the url of a portal project entry that is to be removed
    Example
    Remove a Recent Project
    ArcGIS.Desktop.Core.Project.RemoveRecentProject(projectPath);
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also