Langue

ITextRangeProvider.FindText(String, Boolean, Boolean) Méthode

Définition

Retourne un sous-ensemble de plages de texte qui contient le texte spécifié.

public:
 System::Windows::Automation::Provider::ITextRangeProvider ^ FindText(System::String ^ text, bool backward, bool ignoreCase);
public System.Windows.Automation.Provider.ITextRangeProvider FindText(string text, bool backward, bool ignoreCase);
abstract member FindText : string * bool * bool -> System.Windows.Automation.Provider.ITextRangeProvider
Public Function FindText (text As String, backward As Boolean, ignoreCase As Boolean) As ITextRangeProvider

Paramètres

text
String

Chaîne de texte à rechercher.

backward
Boolean

true si la dernière plage de texte qui s’est produite doit être retournée au lieu du premier ; sinon false.

ignoreCase
Boolean

true si le cas doit être ignoré ; sinon false.

Retours

Plage de texte correspondant au texte spécifié ; sinon, null (Nothing dans Visual Basic).

Remarques

Il n’existe aucune différenciation entre le texte masqué et visible.

S’applique à