Gets the number of bookmarks in the collection.
Namespace:
C1.Win.XmlEditor.UICustomizationAssembly: C1.Win.XmlEditor.2 (in C1.Win.XmlEditor.2.dll)
Syntax
Examples
The code below checks if any bookmark has been deleted during editing in a custom bookmark dialog.
Copy CodeC#
privatebool HaveDeletedBookmarks(XHTMLBookmarkItem item) { for (int i =item.Bookmarks.Count - 1; i >= 0; i--) if (item.Bookmarks[i].IsRemoved) returntrue; returnfalse; } |