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

IHTMLTxtRangeCollection interface

The IHTMLTxtRangeCollection interface provides access to a collection of TextRange objects. The IHTMLTxtRangeCollection interface is returned from the IHTMLSelectionObject2::createRangeCollection method of the selection object.

Members

The IHTMLTxtRangeCollection interface inherits from the IDispatch interface. IHTMLTxtRangeCollection also has these types of members:

Methods

The IHTMLTxtRangeCollection interface has these methods.

MethodDescription
item

Retrieves an object from a TextRange collection.

 

Properties

The IHTMLTxtRangeCollection interface has these properties.

PropertyDescription

length

Sets or retrieves the number of objects in a collection.

 

Remarks

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.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch
Reference
IHTMLSelectionObject2::createRangeCollection
ISelectionServices

 

 

Community Additions

ADD
Show:
© 2015 Microsoft