moveToElementText
Summary
Moves the text range so that the start and end positions of the range encompass the text in the given element.
Method of dom/TextRangedom/TextRange
Syntax
var result = textRange.moveToElementText(/* see parameter list */);
Parameters
element
- Data-type
- any
Object that specifies the element object to move to.
Return Value
Returns an object of type NumberNumber
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Notes
Remarks
Attributions
Microsoft Developer Network: [moveToElementText Method Article]