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.

Exception Condition
InvalidOperationException

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

Return to top
Show: