ArcGIS Pro 2.9 API Reference Guide
PreviewRenameAsync Method

ArcGIS.Desktop.TaskAssistant Namespace > TaskProjectItem Class : PreviewRenameAsync Method
PreviewRenameAsync is called first by the rename operation. The implemention should set the `name` property of a new ItemInfoValue and return it.
Syntax
public Task<ItemInfoValue> PreviewRenameAsync( 
   string newName
)
Public Function PreviewRenameAsync( _
   ByVal newName As String _
) As Task(Of ItemInfoValue)

Parameters

newName
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

TaskProjectItem Class
TaskProjectItem Members