Returns a Bookmark object that represents the bookmark in this document that has the specified name.
public Bookmark GetBookmark(System.String name)
Public Function GetBookmark(ByVal name As String) As Bookmark
The name of the bookmark.
A Bookmark object representing the bookmark specified.
Bookmark
Bookmark oBookmark = oDocument.GetBookmark("MyBookmark");
Dim oBookmark As Bookmark = oDocument.GetBookmark("MyBookmark")