TextSelection.PreviousBookmark Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Moves the text selection to the location of the previous bookmark in the document.
public:
bool PreviousBookmark();
public:
bool PreviousBookmark();
bool PreviousBookmark();
[System.Runtime.InteropServices.DispId(44)]
public bool PreviousBookmark ();
[<System.Runtime.InteropServices.DispId(44)>]
abstract member PreviousBookmark : unit -> bool
Public Function PreviousBookmark () As Boolean
Returns
A Boolean true
if the text selection moves to a previous bookmark, false
if not.
- Attributes
Remarks
If there are no more bookmarks, the edit point is not moved.
PreviousBookmark moves the TextSelection object to the location of the first bookmark preceding the location of the active end of the TextSelection. The TextSelection is collapsed at the new location.