Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
createRange
Collapse the table of content
Expand the table of content

createRange method

Returns an empty range object that has both of its boundary points positioned at the beginning of the document.

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

 

Syntax


HRESULT retVal = object.createRange(oRange);

Parameters

oRange [out, retval]

Type: Range

Returns a Range object, if the method succeeds.

Return value

Type: HRESULT

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

Standards information

 

 

Community Additions

ADD
Show:
© 2015 Microsoft