Collapses the given text range and moves the empty range by the given number of units.
Syntax
HRESULT move( BSTR Unit, long Count, long *ActualCount );
Parameters
- Unit
- String that specifies the units to move. It can be one of the following values:
Character Moves one or more characters. Word Moves one or more words. A word is a collection of characters terminated by a space or other white space character. Sentence Moves one or more sentences. A sentence is a collection of words terminated by a punctuation character, such as a period. Textedit Moves to the start or end of the original range. - Count
- Integer that specifies the number of units to move. This can be positive or negative.
- ActualCount
- Address of a variable that receives the actual number of units moved.
Return Value
Returns S_OK if successful, or an error code otherwise.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0
See Also
moveEnd, moveStart