createRangeCollection

HTML (DHTML)

createRangeCollection Method

Internet Development Index

Creates a TextRange object collection from the current selection.

Syntax

rangeCollection = selection.createRangeCollection()

Return Value

Returns a collection of TextRange objects.

Remarks

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.

Host applications can provide a multiple selection mechanism and can return a collection of TextRange objects that represents discontinuous selections.

Standards Information

There is no public standard that applies to this method.

Applies To

selection