# Path class

Namespace: [GrasshopperIO](https://developer.rhino3d.com/api/gh2/namespace/grasshopperio.md) · Assembly: [GrasshopperIO](https://developer.rhino3d.com/api/gh2/assembly/grasshopperio.md)

```cs
public class Path : IEquatable<Path>, IComparable<Path>
```

A sequence of names, identifying a node or item from the root of an archive.

## Constructors

- [Path](https://developer.rhino3d.com/api/gh2/type/grasshopperio.path/ctor.md)

## Properties

- [Head](https://developer.rhino3d.com/api/gh2/type/grasshopperio.path/head.md): Get all location except the last one.
- [Length](https://developer.rhino3d.com/api/gh2/type/grasshopperio.path/length.md): Gets the number of steps in this path.
- [Tail](https://developer.rhino3d.com/api/gh2/type/grasshopperio.path/tail.md): Gets the last location in this path.

## Indexers

- [this[]](https://developer.rhino3d.com/api/gh2/type/grasshopperio.path/item.md): Gets the location step at the given index.

## Methods

- [Append](https://developer.rhino3d.com/api/gh2/type/grasshopperio.path/append.md): Append a new step to this path.
- [CompareTo](https://developer.rhino3d.com/api/gh2/type/grasshopperio.path/compareto.md)
- [Equals](https://developer.rhino3d.com/api/gh2/type/grasshopperio.path/equals.md): (2 overloads)
- [GetHashCode](https://developer.rhino3d.com/api/gh2/type/grasshopperio.path/gethashcode.md)
- [StartsWith](https://developer.rhino3d.com/api/gh2/type/grasshopperio.path/startswith.md): Tests whether this path starts with the other path.
- [ToString](https://developer.rhino3d.com/api/gh2/type/grasshopperio.path/tostring.md)

## Operators

- [operator +](https://developer.rhino3d.com/api/gh2/type/grasshopperio.path/op-addition.md): (static)
