MoveToContent method

Moves a markup pointer to a particular element in a markup container.

Syntax


HRESULT retVal = object.MoveToContent(pIElement, fAtStart);

Parameters

pIElement [in]

Type: IHTMLElement

Pointer to an IHTMLElement interface for the element to which to move the markup pointer.

fAtStart [in]

Type: BOOL

BOOL that specifies TRUE if the markup pointer is to be placed at the start of the element, or FALSE if it is to be placed at the end.

Return value

Type: HRESULT

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

 

 

Show: