# GH_SearchHit 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_SearchHit : IComparable<GH_SearchHit>
```

## Constructors

- [GH_SearchHit](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-searchhit/ctor.md)

## Properties

- [Object](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-searchhit/object.md)
- [Weight](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-searchhit/weight.md)

## Methods

- [CompareTo](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-searchhit/compareto.md)
