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

Return Value

Returns S_OK if successful, or an error value otherwise.