Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

createRangeCollection method

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

Creates a TextRange object collection from the current selection.


IDispatch retVal = object.createRangeCollection();

Standards information

There are no standards that apply here.


This method has no parameters.


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.

See also




Build date: 6/6/2012

Community Additions

© 2015 Microsoft