moveToBookmark
Summary
Moves to a bookmark.
Method of dom/TextRangedom/TextRange
Syntax
var result = textRange.moveToBookmark(/* see parameter list */);
Parameters
Bookmark
- Data-type
- BSTR
String that specifies the bookmark to move to.
Return Value
Returns an object of type BooleanBoolean
Boolean
Boolean that returns one of the following possible values:
Return value | Description |
---|---|
true | Successfully moved to the bookmark. |
false | Move to the bookmark failed. |
Notes
Remarks
Bookmarks are opaque strings created with the getBookmark method. This feature might not be available on non-Microsoft Win32 platforms.
Attributions
Microsoft Developer Network: [moveToBookmark Method Article]