
This interface provides the abilities to obtain the number of styleSheets in the collection, and access a single styleSheet element from the collection.
A collection of the rules in a styleSheet element. This is returned from the style sheets rules property.
IHTMLStyleSheetRulesCollection Methods
| get_length | item |
HRESULT get_length(
long *p
);
Returns the number of elements in a collection. This method provides the same capabilities as the length property.
HRESULT item(
long index,
IHTMLStyleSheetRule **ppHTMLStyleSheetRule
);
Retrieves an element or a collection from the given collection. The index parameter determines which action to take.
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.