1 out of 1 rated this helpful - Rate this topic

deleteRule method

Deletes a rule from the media block.

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

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

The operation completed successfully.

 

Standards information

See also

Reference
IHTMLCSSMediaRule::cssRules
IHTMLCSSMediaRule::insertRule
IHTMLCSSMediaRule::media

 

 

Build date: 11/12/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.