
## RuleSetCollection class

RuleSet collection.



**Inheritance:** [RuleSetCollection](/diagram/python-net/aspose.diagram/rulesetcollection) → 
[Collection](/diagram/python-net/aspose.diagram/collection)



The RuleSetCollection type exposes the following members:

### Properties
| Property | Description |
| :- | :- |
| [count](/diagram/python-net/aspose.diagram/rulesetcollection/count) | Gets the number of elements actually contained in the collection. |



Gets the element at the specified index.
### Indexer
| Name | Description |
| :- | :- |
| [index] |  |


### Methods
| Method | Description |
| :- | :- |
| [is_exist(index)](/diagram/python-net/aspose.diagram/rulesetcollection/is_exist/#int) | Is exist item in the collection. |
| [clear()](/diagram/python-net/aspose.diagram/rulesetcollection/clear/#) | Removes all elements from collection. |
| [add(rule_set)](/diagram/python-net/aspose.diagram/rulesetcollection/add/#RuleSet) | Add the ruleSet in the collection. |
| [remove(rule_set)](/diagram/python-net/aspose.diagram/rulesetcollection/remove/#RuleSet) | Remove the ruleSet from the collection. |


### See Also

* module [aspose.diagram](../)
* class [Collection](/diagram/python-net/aspose.diagram/collection)
