ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Core Namespace / Project Class / UnpinTemplateProject Method
The path of the project template entry to be unpinned.
Example

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

    Parameters

    path
    The path of the project template entry to be unpinned.
    Remarks
    After unpinning, the project template is added to the recent project template list.
    Example
    Pin / UnPin Project Templates
    {
      Project.PinProjectTemplate(templatePath);
      Project.UnpinTemplateProject(newTemplatePath);
    }
    Requirements

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

    ArcGIS Pro version: 3.1 or higher.
    See Also