moveToElementText

moveToElementText method

Moves the text range so that the start and end positions of the range encompass the text in the given element.

Syntax


HRESULT retVal = object.moveToElementText(element);

Parameters

element [in]

Type: IHTMLElement

Pointer to anIDispatch that specifies the element object to move to.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Standards information

There are no standards that apply here.

Remarks

This feature might not be available on non-Microsoft Win32 platforms.

 

 

Show:
© 2016 Microsoft