TextRangeProviderWrapper.Compare - метод

Returns a value that indicates whether the span (the Start endpoint to the End endpoint) of a text range is the same as another text range.

Definition

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

Параметры

range  ITextRangeProvider
A text range to compare.

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

Boolean
true if the span of both text ranges is identical; otherwise false.

Реализации

ITextRangeProvider.Compare(ITextRangeProvider)

Исключения

ArgumentExceptionIf the range being compared does not come from the same text provider.

См. также