Skip to main content

BookmarkCollection Members

An interface that defines a collection of Bookmark objects.

Properties

Name Description
Count Gets the number of elements contained in the ICollection. Inherited from ICollection.
IsSynchronized Gets a value indicating whether access to the ICollection is synchronized (thread safe). Inherited from ICollection.
Item[String] Gets the Bookmark object specified by its name.
SyncRoot Gets an object that can be used to synchronize access to the ICollection. Inherited from ICollection.

Methods

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