# KeyedValues class

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

```cs
[IoId("00000000-7c1b-45a3-ba6b-9eea505e9a90")]
public sealed class KeyedValues : IStorable
```

A class for maintaining a mutable and overwritable set of named values to be used inside document objects.

## Constructors

- [KeyedValues](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.keyedvalues/ctor.md): (2 overloads) Create a new empty, keyed value collection.

## Properties

- [Count](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.keyedvalues/count.md): Gets the number of values stored.

## Methods

- [Delete](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.keyedvalues/delete.md): Remove a specific named value.
- [DeleteWildcard](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.keyedvalues/deletewildcard.md): Remove all values whose name matches a wildcard string.
- [Get](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.keyedvalues/get.md): (15 overloads) Get a boolean value.
- [IsDefined](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.keyedvalues/isdefined.md): Gets whether a value with a specific name has been set.
- [Rename](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.keyedvalues/rename.md): Rename a value.
- [Set](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.keyedvalues/set.md): (15 overloads) Set a boolean value.
- [Store](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.keyedvalues/store.md): Store this collection.
- [Transfer](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.keyedvalues/transfer.md): Transfer all values which match a key naming pattern from another collection. For a value to be transferred it must have identical keys in both collections.

## Events

- [ValueChanged](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.keyedvalues/valuechanged.md): Raised when a value is assigned or changed.
- [ValueDeleted](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.keyedvalues/valuedeleted.md): Raised when a value is deleted.
