ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Core Namespace / Project Class / PinProject Method
The path of the project entry to be pinned.
Example

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

    Parameters

    path
    The path of the project entry to be pinned.
    Remarks
    If the project exists in the recent project list, it is removed from this list and added to the pinned 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