ArcGIS Pro 2.7 API Reference Guide
RemoveRecentProject Method

ArcGIS.Desktop.Core Namespace > Project Class : RemoveRecentProject Method
The path of the project entry to be removed
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 of the project entry to be removed
Exceptions
ExceptionDescription
The exception that is thrown when there is an attempt to dereference a null object reference.
Remarks
Attempting to remove a path not found in the recent list of projects will throw a System.NullReferenceException
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Project Class
Project Members