IIncrementalSearch.DeleteCharAndSearch Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes the last character of the current search term and updates the search results based on the new term.
public:
Microsoft::VisualStudio::Text::IncrementalSearch::IncrementalSearchResult DeleteCharAndSearch();
Microsoft::VisualStudio::Text::IncrementalSearch::IncrementalSearchResult DeleteCharAndSearch();
public Microsoft.VisualStudio.Text.IncrementalSearch.IncrementalSearchResult DeleteCharAndSearch ();
abstract member DeleteCharAndSearch : unit -> Microsoft.VisualStudio.Text.IncrementalSearch.IncrementalSearchResult
Public Function DeleteCharAndSearch () As IncrementalSearchResult
Returns
An IncrementalSearchResult that indicates whether the new search term was found and whether the search wrapped around the beginning or end of the buffer.
Exceptions
The search string is empty. To avoid this exception, check the SearchString property before calling this method.