TextRangeProviderWrapper.FindText - метод

Returns a text range subset that contains the specified text.

Definition

Пространство имён: Tessa.UI.Automation.Helpers
Сборка: Tessa.UI (в Tessa.UI.dll) Версия: 3.6.0.23
C#
public ITextRangeProvider FindText(
	string text,
	bool backward,
	bool ignoreCase
)

Параметры

text  String
The text string to search for.
backward  Boolean
true if the last occurring text range should be returned instead of the first; otherwise false.
ignoreCase  Boolean
true if case should be ignored; otherwise false.

Возвращаемое значение

ITextRangeProvider
A text range matching the specified text; otherwise null (null in Visual Basic).

Реализации

ITextRangeProvider.FindText(String, Boolean, Boolean)

См. также