The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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 class ITextSearchService

The ITextSearchService type exposes the following members.

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

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
© 2014 Microsoft