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

In This Topic
    GetPinnedProjects Method
    In This Topic
    Retrieves the list of pinned projects.
    Syntax
    Public Shared Function GetPinnedProjects() As IReadOnlyList(Of String)
    public static IReadOnlyList<string> GetPinnedProjects()

    Return Value

    A list containing the full paths to the .aprxs
    Example
    Get Pinned Projects
    {
      var pinnedProjects = Project.GetPinnedProjects();
      // Use pinnedProjects;
    }
    Requirements

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

    ArcGIS Pro version: 3.1 or higher.
    See Also