This documentation is archived and is not being maintained.

TextSelection.NextBookmark Method

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

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

bool NextBookmark()

Return Value

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

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