共用方式為


IHTMLStyleSheetRulesCollection interface

This interface enables you to obtain the number of styleSheets in the collection, and access a single styleSheet rule in that collection. The interface is returned by the styleSheets rules collection.

Members

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

  • Methods
  • Properties

Methods

The IHTMLStyleSheetRulesCollection interface has these methods.

Method Description
item (rules)

Retrieves an object from the rules collection.

 

Properties

The IHTMLStyleSheetRulesCollection interface has these properties.

Property Description

length

Sets or retrieves the number of objects in a collection.

 

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch