[]
Gets the number of bookmarks in the collection.
public int Count { get; }
The code below checks if any bookmark has been deleted during editing in a custom bookmark dialog.
private bool HaveDeletedBookmarks(XHTMLBookmarkItem item)
{
for (int i =item.Bookmarks.Count - 1; i >= 0; i--)
if (item.Bookmarks[i].IsRemoved)
return true;
return false;
}