# SearchItem(string)

> Construct a search item. A search item needs to have at least a unique ID for a given search query.

## Definition

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

```csharp
public SearchItem(string _id)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Unique ID of the SearchItem.

### Remarks

SearchItem are generally created using the [SearchProvider.CreateItem](/engine/6000.5/script-reference/unityeditor/search/searchprovider/createitem.md) function. See [SearchItem](/engine/6000.5/script-reference/unityeditor/search/searchitem.md) for example of items creation.
