Represents a single bookmark.
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
The Bookmark object is a member of the Bookmarks collection. The Bookmarks collection includes all the bookmarks listed in the Bookmark dialog box (Insert menu).
Use Bookmarks(index), where index is the bookmark name or index number, to return a single Bookmark object. You must exactly match the spelling (but not necessarily the capitalization) of the bookmark name.
The index number represents the position of the bookmark in the Selection or Range object. For the Document object, the index number represents the position of the bookmark in the alphabetic list of bookmarks in the Bookmarks dialog box (click Name to sort the list of bookmarks alphabetically).
Use the Add method to add a bookmark to a document range.
Use the BookmarkID property with a range or selection object to return the index number of the Bookmark object in the Bookmarks collection.
Use the Exists method to determine whether a bookmark already exists in the selection, range, or document.