# GH_GuidTable class

Namespace: [Grasshopper.Kernel](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.kernel.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
public class GH_GuidTable
```

Maintains a quick-access collection of Guids and IGH_ActiveObject references.

## Properties

- [Count](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-guidtable/count.md): Gets the number of stored IDs in the table.
- [IsEmpty](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-guidtable/isempty.md): Gets a value whether the table is empty.

## Methods

- [Add](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-guidtable/add.md): Register a new id+object key-value pair with the Table. If the combination already exists, it won't be added.
- [AllObjects](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-guidtable/allobjects.md): Collect all the objects that are stored in this Table. The result might contain duplicates.
- [Clear](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-guidtable/clear.md): Clear the entire table.
- [Contains](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-guidtable/contains.md): Fast test to see if a Rhino object ID has been registered in the table. Negative tests are O(1), positive tests are O(N).
- [Objects](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-guidtable/objects.md): Collect all the objects that are associates with a given ID.
