Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TextRange property

Retrieves a collection of TextRange objects.



range = object.TextRange


Property values

Type: IUnknown

Array of elements created with the createRangeCollection method.

Standards information

There are no standards that apply here.


Elements can be accessed through the item method, or you can use an index to directly access an element in the collection. For example, the element returned from the collection represented by oColl(0) is the same as the element returned by oColl.item(0).

See also




© 2017 Microsoft