The IHTMLTxtRangeCollection interface provides access to a collection of TextRange objects. The IHTMLTxtRangeCollection interface is returned from the createRangeCollection method of the selection object.
_newEnum Retrieves an enumerator for the collection. item Retrieves an object from a TextRange collection. length Gets the number of objects in a collection.
Microsoft Internet Explorer 5.5 does not provide a multiple selection mechanism and 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.
Stock Implementation mshtml.dll Custom Implementation No Inherits from IDispatch Header and IDL files mshtml.h, mshtml.idl Minimum availability Internet Explorer 5.5 Minimum operating systems Windows 95, Windows NT 4.0, Windows CE 4.0