Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

BookmarkCollection Methods

An interface that defines a collection of Bookmark objects.
Name Description
CopyTo(Array, Int32) Copies the elements of the ICollection to an Array, starting at a particular Array index. Inherited from ICollection.
Create(DocumentPosition, Int32, String) Creates a bookmark with the specified name for the range that starts at the specified position and has the specified length and adds it to the collection.
Create(DocumentRange, String) Creates a bookmark for the specified range with the specified name and adds it to the collection.
Get(DocumentRange) Gets all bookmarks located in the specified document range. Inherited from ReadOnlyBookmarkCollection.
GetEnumerator() Returns an enumerator that iterates through the collection. Inherited from IEnumerable<T>.
Remove(Bookmark) Removes the specified bookmark from the collection.
Select(Bookmark) Selects a range associated with the specified bookmark.
See Also