Share via


TextSelection.NextBookmark Method

Moves to the ___location of the next bookmark in the document.

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

Syntax

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

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

Return Value

Type: System.Boolean
A Boolean value indicating true if the insertion point moves to the next bookmark, false if otherwise.

Remarks

The TextSelection is moved to the new ___location. If there are no more bookmarks, no movement occurs.

.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