cloneRange method

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

Returns a new range with boundary points that are equal to the original range.

Document Object Model (DOM) Level 2 Traversal and Range Specification, Section 2.13Internet Explorer 9

Syntax

HRESULT retVal = object.cloneRange();

Standards information

Parameters

Return value

Type: HRESULT

This method can return one of these values.

Return code Description
S_OK

The operation completed successfully.

W3CException_DOM_INVALID_STATE

detach has been invoked on the object.

 

See also

cloneContents

 

 

Build date: 1/26/2012