ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.TaskAssistant Namespace / TaskProjectItem Class / PreviewRenameAsync Method

In This Topic
    PreviewRenameAsync Method
    In This Topic
    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