This page is Out of Date

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

createRangeCollection

Method of dom/Selectiondom/Selection

Syntax

var object = object.createRangeCollection();

Return Value

Returns an object of type DOM NodeDOM Node

Object

Returns a collection of TextRange objects.

Notes

Remarks

Host applications can provide a multiple selection mechanism and can return a collection of TextRange objects that represents discontinuous selections. The host application provides the collection through the ISegmentList interface. MSHTML requests this interface through the ISelectionServices interface. Microsoft Internet Explorer 5.5 does not provide multiple selection. The default implementation of this method returns a collection consisting of a single TextRange object.

Syntax

Standards information

There are no standards that apply here.

Attributions