## ICSSMediaRule.DeleteRule method

The deleteRule() method of the CSSGroupingRule interface removes a CSS rule from a list of child CSS rules.

```java
public void DeleteRule(long index)
```

| Parameter | Type | Description |
| --- | --- | --- |
| index | Int64 | The index of the rule to delete. |

### See Also

* interface [ICSSMediaRule](../)
* package [com.aspose.html.dom.css](../../../com.aspose.html.dom.css/)
* package [Aspose.HTML](../../../)
