moveToElementText method

[This documentation is preliminary and is subject to change.]

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);

Standards information

There are no standards that apply here.

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.

Remarks

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

 

 

Build date: 6/12/2012

Community Additions

Show: