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
bool NextBookmark()
bool NextBookmark()
abstract NextBookmark : unit -> bool
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

EnvDTE Namespace

Other Resources

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