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 ()
boolean NextBookmark ()
function NextBookmark () : boolean

Return Value

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.