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

In This Topic
    ClearPinnedProjects Method
    In This Topic
    Clears the list of pinned projects.
    Syntax
    Public Shared Sub ClearPinnedProjects() 
    public static void ClearPinnedProjects()
    Remarks
    Note: This routine does not unpin projects. Use UnpinProject if the project should be moved to the recent project list.
    Example
    Clear Pinned Projects
    {
      Project.ClearPinnedProjects();
    }
    Requirements

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

    ArcGIS Pro version: 3.1 or higher.
    See Also