# SelectSearch()

> Puts focus in the SearchView text field AND selects all the text inside the text field (if any).

## Definition

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

```csharp
void SelectSearch()
```
