Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
deleteRule
Collapse the table of content
Expand the table of content

deleteRule method

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);

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

Reference
IHTMLStyleSheet4::cssRules
IHTMLStyleSheet4::insertRule

 

 

Community Additions

ADD
Show:
© 2015 Microsoft