Export (0) Print
Expand All

IHTMLStyleSheetsCollection interface

This interface provides the ability to obtain the number of styleSheets in the collection, and to iterate through the styleSheets collection of the style element.

Members

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

Methods

The IHTMLStyleSheetsCollection interface has these methods.

MethodDescription
item

Retrieves an object from a collection.

 

Properties

The IHTMLStyleSheetsCollection interface has these properties.

PropertyDescription

length

Sets or retrieves the number of objects in a collection.

 

Remarks

A zero-based collection of style sheets is exposed from the document object. Each style sheet object represents an individual style sheet for the document. This object represents instances of the link and style elements whose REL attributes are set to styleSheet.

Imported style sheets are contained within a style element and are accessible through the IHTMLStyleSheet::imports method.

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft