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

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

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

    ArcGIS Pro version: 3.1 or higher.
    See Also