ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Core Namespace / CoreModule Class / RepathProjectItem Method

In This Topic
    RepathProjectItem Method
    In This Topic
    Repath the item's catalog path to the path provided
    Syntax
    Public Function RepathProjectItem( _
       ByVal projectItem As ItemInfoValue, _
       ByVal newPath As String _
    ) As Boolean
    public bool RepathProjectItem( 
       ItemInfoValue projectItem,
       string newPath
    )

    Parameters

    projectItem
    newPath
    Requirements

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

    ArcGIS Pro version: 3.0 or higher.
    See Also