共用方式為


ISelectionServices interface

This interface provides methods to programmatically clear, add content to, and remove content from the selection object.

Members

The ISelectionServices interface inherits from the IUnknown interface but does not have additional members.

Remarks

You can obtain an ISelectionServices interface pointer by calling IHTMLEditServices::GetSelectionServices.

Highlighted selections can have multiple noncontiguous sections. Each of these sections can have different highlight styles.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IHTMLEditServices