# GetHashCode()

> Default Hash of a SearchItem.

## 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) | A hash code for the current SearchItem. |
