Partager via


removeRange method

Removes a range from a selection.

 

Syntax

HRESULT retVal = object.removeRange(range);

Parameters

  • range [in]
    Type: IDispatch

    Range to remove.

Return value

Type: HRESULT

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

Standards information

Remarks

Windows Internet Explorer 9 does not currently support multiple or disjointed selections in standards mode.