Partager via


IIncrementalSearch.DeleteCharAndSearch Method

Definition

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.

Applies to