# ShowContextual(params string[])

> Open the search window using a specific context (activating specific filters).

## Definition

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

## ShowContextual(string\[])

```csharp
public static ISearchView ShowContextual(params string[] providerIds)
```

### Parameters

**** (\[string\[]]\(https\://learn.microsoft.com/dotnet/api/system.string)): Unique IDs of search providers to enable when opening the search view.

### Returns

| Type                                                                             | Description                              |
| -------------------------------------------------------------------------------- | ---------------------------------------- |
| [ISearchView](/engine/6000.6/script-reference/unityeditor/search/isearchview.md) | Returns the search view window instance. |

### Examples

```csharp
[MenuItem("Tools/Search Menus _F1")]
public static void SearchMenuItems()
{
    SearchService.ShowContextual("menu");
}
```
