Parameters
- mapView
- The map view used to create the bookmark.
- name
- The name of the new bookmark.
- description
- The description of the new bookmark.
Return Value
The new bookmark added to the map.
| Exception | Description |
|---|---|
| System.ArgumentException | The MapView must contain this Map and the name of the Bookmark must be unique for the Map. |
| System.ArgumentNullException | The MapView cannot be null. |
| ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run. |
Target Platforms: Windows 11, Windows 10