# TypeHierarchy class

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

```cs
public sealed class TypeHierarchy
```

Represents the inheritance/implementation hierarchy of a type.

## Constructors

- [TypeHierarchy](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.typehierarchy/ctor.md): Create a new hierarchy.

## Properties

- [BaseClasses](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.typehierarchy/baseclasses.md): Enumerate over the entire inheritance hierarchy, not including the current type, starting with the type directly above the local type and ending with (probably) System.Object.
- [CompleteHierarchy](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.typehierarchy/completehierarchy.md): Enumerate over the entire hierarchy, including the top level type and all interfaces.
- [Interfaces](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.typehierarchy/interfaces.md): Enumerate over the entire implementation hierarchy, exluding the top level type.
- [Type](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.typehierarchy/type.md): Gets the type id for this hierarchy.
