MSHTML Classes: CAutoRangeCollection

The CAutoRangeCollection class is the internal implementation of what MSHTML exposes for scripting as the TextRange collection. Instances are created by the createRangeCollection method of the CSelectionObject class.


The table below lists the interface members that the CAutoRangeCollection class exposes as properties through its string table. Properties that Microsoft does not list in the HTML and DHTML Reference are highlighted yellow.

Property Interface Member
item IHTMLTxtRangeCollection item
length IHTMLTxtRangeCollection get_length
_newEnum IHTMLTxtRangeCollection get__newEnum