Range Provider. Move(TextUnit, Int32) Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Moves the text range the specified number of text units.
public: int Move(TextUnit unit, int count);
int Move(TextUnit const& unit, int const& count);
public int Move(TextUnit unit, int count);
function move(unit, count)
Public Function Move (unit As TextUnit, count As Integer) As Integer
The text unit boundary.
The number of text units to move. A positive value moves the text range forward; a negative value moves the text range backward; and a value of 0 has no effect.
The number of units actually moved. This value can be less than the count requested if either of the new text range endpoints is greater than or less than the DocumentRange endpoints. This value can be negative if navigation is happening in the backward direction.
Submit and view feedback for