Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

deleteRule method

Deletes a rule from the style sheet.

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

Syntax

var retval = styleSheet.deleteRule(lIndex);

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 codeDescription
S_OK

The operation completed successfully.

 

Standards information

See also

styleSheet
Reference
cssRules
insertRule

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.