IIncrementalSearch::DeleteCharAndSearch Method ()
Visual Studio 2015
Removes the last character of the current search term and updates the search results based on the new term.
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Return Value
Type: Microsoft.VisualStudio.Text.IncrementalSearch::IncrementalSearchResultAn 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. |
Show: