deleteRule method

Deletes a rule from the media block.

 

Syntax

HRESULT retVal = object.deleteRule(lIndex);

Parameters

  • lIndex [in]
    Type: long

    The index of the rule to remove from the media block's rule collection.

Return value

Type: HRESULT

This method can return one of these values.

Return code Description
S_OK

The operation completed successfully.

 

Standards information

See also

Reference

IHTMLCSSMediaRule::cssRules

IHTMLCSSMediaRule::insertRule

IHTMLCSSMediaRule::media