IHTMLStyleSheet::rules Property
Retrieves a collection of rules defined in the styleSheet. If there are no rules, the length of the collection returned is zero.
Syntax
HRESULT IHTMLStyleSheet::get_rules(IHTMLStyleSheetRulesCollection **p);
Parameters
- p
Address of a pointer to a variable of type IHTMLStyleSheetRulesCollection interface that receives the collection of rules.
Return Value
Returns S_OK if successful, or an error value otherwise.