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