deleteRule method
Deletes a rule from the media block.
![]() ![]() |
Syntax
var retval = CSSMediaRule.deleteRule(lIndex);Parameters
- lIndex [in]
-
Type: Integer
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 |
|---|---|
|
The operation completed successfully. |
Standards information
See also
- CSSMediaRule
- Reference
- cssRules
- insertRule
- media
Show:

