public void DeleteSelectedBookmarks() { foreach (var bookmark in SelectedBookmarks.ToArray()) { _bookmarks.Remove(bookmark); } }
internal override void Detach() { base.Detach(); if (!base.DeepDetached) { BookmarkCollection bookmarks = base.Document.Bookmarks; Bookmark bookmark = bookmarks.FindByName(this.Name); if (bookmark != null) { bookmark.method_0(null); bookmarks.Remove(bookmark); } } }