ArcGIS Pro 3.2 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 static void ClearPinnedProjects()
    Public Shared Sub 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
    ArcGIS.Desktop.Core.Project.ClearPinnedProjects();
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.1 or higher.
    See Also