TextRangeProviderWrapperCompareEndpoints - метод
Returns a value that specifies whether two text ranges have identical endpoints.
Пространство имён: Tessa.UI.Automation.HelpersСборка: Tessa.UI (в Tessa.UI.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
public int CompareEndpoints(
TextPatternRangeEndpoint endpoint,
ITextRangeProvider targetRange,
TextPatternRangeEndpoint targetEndpoint
)
Public Function CompareEndpoints (
endpoint As TextPatternRangeEndpoint,
targetRange As ITextRangeProvider,
targetEndpoint As TextPatternRangeEndpoint
) As Integer
public:
virtual int CompareEndpoints(
TextPatternRangeEndpoint endpoint,
ITextRangeProvider^ targetRange,
TextPatternRangeEndpoint targetEndpoint
) sealed
abstract CompareEndpoints :
endpoint : TextPatternRangeEndpoint *
targetRange : ITextRangeProvider *
targetEndpoint : TextPatternRangeEndpoint -> int
override CompareEndpoints :
endpoint : TextPatternRangeEndpoint *
targetRange : ITextRangeProvider *
targetEndpoint : TextPatternRangeEndpoint -> int
- endpoint TextPatternRangeEndpoint
- The Start or End endpoint of the caller.
- targetRange ITextRangeProvider
- The target range for comparison.
- targetEndpoint TextPatternRangeEndpoint
- The Start or End endpoint of the target.
Int32Returns a negative value if the caller's endpoint occurs earlier in the text than the target endpoint.
Returns zero if the caller's endpoint is at the same location as the target endpoint.
Returns a positive value if the caller's endpoint occurs later in the text than the target endpoint.
ITextRangeProviderCompareEndpoints(TextPatternRangeEndpoint, ITextRangeProvider, TextPatternRangeEndpoint)