TextRangeProviderWrapper.GetText - метод

Retrieves the plain text of the range.

Definition

Пространство имён: Tessa.UI.Automation.Helpers
Сборка: Tessa.UI (в Tessa.UI.dll) Версия: 3.6.0.23
C#
public string GetText(
	int maxLength
)

Параметры

maxLength  Int32
The maximum length of the string to return. Use -1 if no limit is required.

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

String
The plain text of the text range, possibly truncated at the specified maxLength.

Реализации

ITextRangeProvider.GetText(Int32)

Исключения

ArgumentOutOfRangeExceptionIf maxLength is less than -1.

См. также