# GetHashCode()

> Computes the hash code for this SearchResult from its index property.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Search](/engine/6000.5/script-reference/unityeditor/search.md)
* **Assembly:** UnityEditor

```csharp
public override int GetHashCode()
```

### Returns

| Type                                                       | Description                   |
| ---------------------------------------------------------- | ----------------------------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) | HashCode of the SearchResult. |
