IHTMLElementAppliedStyles::msGetRulesApplied Method

New for Windows Internet Explorer 9

Provides a method to query for rules that are applied to a specific IHTMLElement.

Syntax


HRESULT msGetRulesApplied(
    IRulesAppliedCollection **ppRulesAppliedCollection
);

Parameters

ppRulesAppliedCollection
[out, retval] An object that represents a collection of rules that were applied to an element and the source elements or selectors for those rules.

Return Value

Returns S_OK if successful, or an error value otherwise.

Community Additions

Show: