deleteRule method

[This documentation is preliminary and is subject to change.]

Deletes a rule from the style sheet.

Document Object Model (DOM) Level 2 Style Specification, Section 2.2Internet Explorer 9

Syntax

HRESULT retVal = object.deleteRule(lIndex);

Standards information

Parameters

  • lIndex [in]
    Type: ulong

    The index within the rule list for the style sheet of the rule to remove.

Return value

Type: HRESULT

This method can return one of these values.

Return code Description
S_OK

The operation completed successfully.

 

See also

Reference

cssRules

insertRule

 

 

Build date: 1/23/2012