TextDocument::ClearBookmarks Method ()

 

Removes all unnamed bookmarks in the text document.

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

void ClearBookmarks()

The following examples look in a document (like a text file) for the word, int. If it is found, a bookmark is placed on its line. The examples then use the ClearBookmarks method to delete the bookmarks.

To run the following example, first either create or open a document that contains the word, int.

No code example is currently available or this language may not be supported.
Return to top
Show: