---
title: "ICSSRuleList.Item"
url: "https://reference.aspose.com/html/net/aspose.html.dom.css/icssrulelist/item/"
product: "Aspose.HTML for .NET API Reference"
description: "ICSSRuleList Item property. Used to retrieve a CSS rule by method item http//www.w3.org/TR/DOM-Level-2-Style/css.htmlCSS-CSSRuleList. The order in this collection represents the order of the rules in the CSS style sheet. If index is greater than or equal to the number of rules in the list this returns null"
---

## ICSSRuleList indexer

Used to retrieve a CSS rule by method item() (http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRuleList). The order in this collection represents the order of the rules in the CSS style sheet. If index is greater than or equal to the number of rules in the list, this returns null.

```csharp
public ICSSRule this[int index] { get; }
```

| Parameter | Description |
| --- | --- |
| index | The rule index |

### Return Value

The CSS rule instance.

### Property Value

The [`ICSSRule`](../../icssrule/).

### See Also

* interface [ICSSRule](../../icssrule/)
* interface [ICSSRuleList](../)
* namespace [Aspose.Html.Dom.Css](../../../aspose.html.dom.css/)
* assembly [Aspose.HTML](../../../)
