共用方式為


IHTMLStyleSheetRulesCollection2 interface

Provides the abstraction of an ordered collection of Cascading Style Sheets (CSS) rules.

Members

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

  • Methods
  • Properties

Methods

The IHTMLStyleSheetRulesCollection2 interface has these methods.

Method Description
item (rules)

Retrieves an object from the rules collection.

 

Properties

The IHTMLStyleSheetRulesCollection2 interface has these properties.

Property Description

length

Retrieves the number of properties that are explicitly set on the parent object.

 

Requirements

Minimum supported client

Windows Vista with SP1, Windows 7

Minimum supported server

Windows Server 2008 R2

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch