ArcGIS Pro 2.7 API Reference Guide
Rename Method
Example 

ArcGIS.Desktop.Mapping Namespace > Bookmark Class : Rename Method
The new bookmark name.
Changes the name of the bookmark. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public void Rename( 
   string name
)
Public Sub Rename( _
   ByVal name As String _
) 

Parameters

name
The new bookmark name.
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Example
Rename a bookmark.
public Task RenameBookmarkAsync(Bookmark bookmark, string newName)
{
  return QueuedTask.Run(() => bookmark.Rename(newName));
}
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Bookmark Class
Bookmark Members