Export (0) Print
Expand All

IHTMLSelectionObject2 interface

The IHTMLSelectionObject2 interface provides methods for the selection object representing the active selection. It provides support for multiple and custom selection that are optionally implemented by the host application.

Members

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

Methods

The IHTMLSelectionObject2 interface has these methods.

MethodDescription
createRangeCollection

Creates a TextRange object collection from the current selection.

 

Properties

The IHTMLSelectionObject2 interface has these properties.

PropertyDescription

typeDetail

Retrieves the name of the selection type.

 

Remarks

A host application provides a custom selection mechanism by implementing the ISelectionServicesListener interface.

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

Reference
ISelectionServicesListener
IHTMLSelectionObject

 

 

Community Additions

ADD
Show:
© 2014 Microsoft