# IItemAccessor<T> interface

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

```cs
public interface IItemAccessor<T> : IItemAccessor
```

Generic interface for tree item accessors.

**Type parameters:**

- `T`

## Indexers

- [this[]](https://developer.rhino3d.com/api/gh2/type/grasshopper2.data.iitemaccessor-1/item.md): (4 overloads) Gets an item by offset, or implied flat index. This lookup can be much slower than accessing items by twig and index.
