ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Core Namespace / CustomItemBase Class / RenameAsync Method
The new item name

In This Topic
    RenameAsync Method (CustomItemBase)
    In This Topic
    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 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also