ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Core Namespace / Project Class / UnpinProject Method
The path of the project entry to be unpinned.
Example

In This Topic
    UnpinProject Method
    In This Topic
    Unpins a project.
    Syntax
    public static void UnpinProject( 
       string path
    )
    Public Shared Sub UnpinProject( _
       ByVal path As String _
    ) 

    Parameters

    path
    The path of the project entry to be unpinned.
    Remarks
    After unpinning, the project is added to the recent project list.
    Example
    Pin / UnPin Projects
    ArcGIS.Desktop.Core.Project.PinProject(projectPath);
    ArcGIS.Desktop.Core.Project.UnpinProject(projectPath2);
    
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.1 or higher.
    See Also