# Open<T>(SearchWindowContext, T)

> Opens the search window above the Graph.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Experimental.GraphView](/engine/6000.3/script-reference/unityeditor/experimental/graphview.md)
* **Assembly:** UnityEditor

```csharp
public static bool Open<T>(SearchWindowContext context, T provider) where T : ScriptableObject, ISearchWindowProvider
```

### Parameters

**** (\[SearchWindowContext]\(/engine/6000.3/script-reference/unityeditor/experimental/graphview/searchwindowcontext)): Structure of parameters that configure the search window.**** (T): Reference to the object that provides the search results.

### Returns

| Type                                                          | Description                                                             |
| ------------------------------------------------------------- | ----------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Returns true if the window opens successfully. Returns false otherwise. |

### Remarks

The provider object must be of type ScriptableObject for the search window to maintain the its reference after a domain reload. For example, you can use your own instance of an EditorWindow subclass.
