IIncrementalSearch.DeleteCharAndSearch Method

Removes the last character of the current search term and updates the search results based on the new term.

Namespace:  Microsoft.VisualStudio.Text.IncrementalSearch
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

IncrementalSearchResult DeleteCharAndSearch()

Return Value

Type: Microsoft.VisualStudio.Text.IncrementalSearch.IncrementalSearchResult
An IncrementalSearchResult that indicates whether the new search term was found and whether the search wrapped around the beginning or end of the buffer.


The search string is empty. To avoid this exception, check the SearchString property before calling this method.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft