ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / Bookmark Class / Update(MapView) Method
The map view used to update the bookmark.
Example

In This Topic
    Update(MapView) Method
    In This Topic
    Updates the bookmark to the current location and time of a map view. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    Public Sub Update( _
       ByVal mapView As MapView _
    ) 
    public void Update( 
       MapView mapView
    )

    Parameters

    mapView
    The map view used to update the bookmark.
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Example
    Update Bookmark
    {
      // Note: Needs QueuedTask to run
      {
        //Update the bookmark using the active map view.
        oldBookmark.Update(mapView);
      }
    }
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also