ITextSearchService Interface

Searches a ITextSnapshot with different search options.

Namespace:  Microsoft.VisualStudio.Text.Operations
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

public interface ITextSearchService

The ITextSearchService type exposes the following members.

  NameDescription
Public methodFindAllSearches for all the occurrences of the search string.
Public methodFindNextSearches for the next occurrence of the search string.
Top

This is a MEF component part, and should be imported as follows:

[Import] ITextSearchService textSearch = null;
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft