ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Core Namespace / Item Class / OnFolderRename Method
The old path
The new path

OnFolderRename Method (Item)
Callback when an item's parent folder is being renamed
Syntax
protected internal virtual void OnFolderRename( 
   string oldValue,
   string newValue
)

Parameters

oldValue
The old path
newValue
The new path
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.2 or higher.
See Also