ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / Bookmark Class / MapURI Property
Example

In This Topic
    MapURI Property (Bookmark)
    In This Topic
    Gets the unique path of the map in which the bookmark belongs.
    Syntax
    public string MapURI {get;}
    Public ReadOnly Property MapURI As String
    Example
    Find Map Bookmarks
    public IEnumerable<Bookmark> FindMapBookmarks(List<Bookmark> bookmarks, Map map)
    {
      //Return all the bookmarks from a collection that are stored with a given map.
      return bookmarks.Where(b => b.MapURI == map.URI);
    }
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also