# SearchTable

> Creates a new search table configuration.

## Definition

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

## SearchTable(string, string, IEnumerable\<SearchColumn>)

Creates a new search table configuration.

```csharp
public SearchTable(string id, string name, IEnumerable<SearchColumn> columnModels)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Unique id, usually a GUID.**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Name of the table.**** (\[IEnumerable\<SearchColumn>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)): Set of initial columns.

## SearchTable(string, IEnumerable\<SearchColumn>)

Creates a new search table configuration.

```csharp
public SearchTable(string name, IEnumerable<SearchColumn> columnModels)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Name of the table.**** (\[IEnumerable\<SearchColumn>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)): Set of initial columns.

## SearchTable(SearchTable, string)

Creates a new search table configuration.

```csharp
public SearchTable(SearchTable other, string newName = null)
```

### Parameters

**** (\[SearchTable]\(/engine/6000.6/script-reference/unityeditor/search/searchtable)): Table setup to copy columns from.**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): New name of the table if copied from an initial table configuration.
