# IPresets interface

Namespace: [Grasshopper2.Parameters](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.parameters.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public interface IPresets : IStorable
```

Collection of named presets.

**Derived types:** [Presets<T>](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parameters.presets-1.md)

## Properties

- [AllPresets](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parameters.ipresets/allpresets.md): Enumerate over all presets.
- [Count](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parameters.ipresets/count.md): Gets the number of preset values.
- [Names](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parameters.ipresets/names.md): Enumerate over all names.

## Indexers

- [this[]](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parameters.ipresets/item.md): (2 overloads) Access an indexed preset.

## Methods

- [Clear](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parameters.ipresets/clear.md): Wipe all defined presets.
- [FindByValue](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parameters.ipresets/findbyvalue.md): Attempt to find the preset associated with a value. If the value is of the wrong type or otherwise unknown to this preset collection, null will be returned.
- [IsAvailable](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parameters.ipresets/isavailable.md): Gets whether a specific name is still available and adheres to the naming scheme.
- [TryCopyFrom](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parameters.ipresets/trycopyfrom.md): Try and copy all presets from another collection.

## Inherited Members

- From [IStorable](https://developer.rhino3d.com/api/gh2/type/grasshopperio.istorable.md): [Store](https://developer.rhino3d.com/api/gh2/type/grasshopperio.istorable/store.md)
