Share via


ITextSearchService, interface

Effectue une recherche dans ITextSnapshot en appliquant différentes options de recherche.

Espace de noms :  Microsoft.VisualStudio.Text.Operations
Assembly :  Microsoft.VisualStudio.Text.Logic (dans Microsoft.VisualStudio.Text.Logic.dll)

Syntaxe

'Déclaration
Public Interface ITextSearchService
public interface ITextSearchService
public interface class ITextSearchService
type ITextSearchService =  interface end
public interface ITextSearchService

Le type ITextSearchService expose les membres suivants.

Méthodes

  Nom Description
Méthode publique FindAll Recherche toutes les occurrences de la chaîne recherchée.
Méthode publique FindNext Recherche les occurrences suivantes de la chaîne recherchée.

Début

Notes

C'est un composant MEF, et doit être importée comme suit :

[Import] ITextSearchService textSearch = null;

Voir aussi

Référence

Microsoft.VisualStudio.Text.Operations, espace de noms