# GH_TreeIndex struct

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

```cs
public struct GH_TreeIndex
```

Represents a single unique location in a DataTree.

## Constructors

- [GH_TreeIndex](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.data.gh-treeindex/ctor.md): Create a new instance of the GH_TreeIndex structure with preset path and item index.

## Properties

- [Item](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.data.gh-treeindex/item.md): Gets or sets the item index.
- [Path](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.data.gh-treeindex/path.md): Gets or sets the Path identifier.
