共用方式為


IHTMLStyleSheetRule interface

This interface provides access to the methods that are returned when you access the styleSheet object. The interface represents a particular rule in a style sheet collection.

Members

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

  • Properties

Properties

The IHTMLStyleSheetRule interface has these properties.

Property Description

readOnly

Retrieves whether the rule or style sheet is defined on the document or is imported.

selectorText

Retrieves a string that identifies which elements the corresponding style sheet rule applies to.

 

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch