ArcGIS Pro 2.8 API Reference Guide
RenameAsync Method (CustomItemBase)

ArcGIS.Desktop.Core Namespace > CustomItemBase Class : RenameAsync Method
The new item name
Rename the custom item
Syntax
public Task<bool> RenameAsync( 
   string newName
)
Public Function RenameAsync( _
   ByVal newName As String _
) As Task(Of Boolean)

Parameters

newName
The new item name

Return Value

True if rename is successfull
Remarks
Override OnRename to implement custom renaming behavior
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

CustomItemBase Class
CustomItemBase Members