createRange method

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

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

Standards information

Parameters

Return value

Type: HRESULT

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

 

 

Build date: 1/26/2012