Share via


TextSelection.PreviousBookmark Method

Moves the text selection to the ___location of the previous bookmark in the document.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

Syntax

'Declaration
Function PreviousBookmark As Boolean
'Usage
Dim instance As TextSelection 
Dim returnValue As Boolean 

returnValue = instance.PreviousBookmark()
bool PreviousBookmark()
bool PreviousBookmark()
function PreviousBookmark() : boolean

Return Value

Type: System.Boolean
A Boolean true if the text selection moves to a previous bookmark, false if not.

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.

.NET Framework Security

See Also

Reference

TextSelection Interface

TextSelection Members

EnvDTE Namespace

Other Resources

How to: Compile and Run the Automation Object Model Code Examples