Share via


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)

Syntax

'Declaration
Public Interface ITextSearchService
public interface ITextSearchService
public interface class ITextSearchService
type ITextSearchService =  interface end
public interface ITextSearchService

The ITextSearchService type exposes the following members.

Methods

  Name Description
Public method FindAll Searches for all the occurrences of the search string.
Public method FindNext Searches for the next occurrence of the search string.

Top

Remarks

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

[Import] ITextSearchService textSearch = null;

See Also

Reference

Microsoft.VisualStudio.Text.Operations Namespace