TextRangeProviderWrapperMoveEndpointByUnit - метод
Moves one endpoint of the text range the specified number of text units within the document range.
Пространство имён: Tessa.UI.Automation.HelpersСборка: Tessa.UI (в Tessa.UI.dll) Версия: 4.0.4
public int MoveEndpointByUnit(
TextPatternRangeEndpoint endpoint,
TextUnit unit,
int count
)
Public Function MoveEndpointByUnit (
endpoint As TextPatternRangeEndpoint,
unit As TextUnit,
count As Integer
) As Integer
public:
virtual int MoveEndpointByUnit(
TextPatternRangeEndpoint^ endpoint,
TextUnit^ unit,
int count
) sealed
abstract MoveEndpointByUnit :
endpoint : TextPatternRangeEndpoint *
unit : TextUnit *
count : int -> int
override MoveEndpointByUnit :
endpoint : TextPatternRangeEndpoint *
unit : TextUnit *
count : int -> int
- endpoint TextPatternRangeEndpoint
- The endpoint to move.
- unit TextUnit
- The textual unit for moving.
- count Int32
- The number of units to move. A positive value moves the endpoint forward. A negative value moves backward. A value of 0 has no effect.
Int32The number of units actually moved, which can be less than the number requested if moving the endpoint runs into the beginning or end of the document.
ITextRangeProviderMoveEndpointByUnit(TextPatternRangeEndpoint, TextUnit, Int32)