IHTMLStyleSheetRulesAppliedCollection::item Method

New for Windows Internet Explorer 9

Gets the IRulesApplied object at index.

Syntax

HRESULT item(
    long index,
    IRulesApplied **ppRulesApplied
);

Parameters

  • index
    [in] Value that represents the index of the IRulesApplied.
  • ppRulesApplied
    [out, retval] The IRulesApplied returned.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

Rules are sorted by application where the lower the index, the more recently the rule was applied. An index of 0 usually represents the IRulesApplied object that is associated with the element itself.