Retrieves an IHTMLStyleSheetRulesCollection pointer to the collection of the rules in this IHTMLStyleSheet. If there are no rules, the length of the collection returned is zero.
Syntax
HRESULT get_rules(
    IHTMLStyleSheetRulesCollection **p 
);
Parameters
- p
 - Address of a variable that receives an interface pointer to IHTMLStyleSheetRulesCollection.
 
Return Value
Returns S_OK if successful, or an error code otherwise.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0