# IOptions interface

Namespace: [Grasshopper2.UI.ContentBrowser](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.ui.contentbrowser.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public interface IOptions : IEnumerable<Option>
```

Base interface for [Options](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.contentbrowser.options.md) which doesn't allow the addition of items.

**Derived types:** [Options](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.contentbrowser.options.md)

## Properties

- [Count](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.contentbrowser.ioptions/count.md): Gets the number of defined options.

## Indexers

- [this[]](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.contentbrowser.ioptions/item.md): Gets the option and selected state at the given index.

## Methods

- [Deselect](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.contentbrowser.ioptions/deselect.md): Deselect the category with the given name.
- [IsSelected](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.contentbrowser.ioptions/isselected.md): Gets whether the category with the given name is selected. If the category isn't defined, false is returned.
- [Select](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.contentbrowser.ioptions/select.md): Select the category with the given name.
- [ToArrays](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.contentbrowser.ioptions/toarrays.md): Gets copies of the option and selection arrays.
