# SearchColumn

> Creates a new search column.

## Definition

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

## SearchColumn(string, GUIContent, SearchColumnFlags)

Creates a new search column.

```csharp
public SearchColumn(string path, GUIContent content = null, SearchColumnFlags options = SearchColumnFlags.Default)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Serialization path of the column.**** (\[GUIContent]\(/engine/6000.7/script-reference/unityengine/guicontent)): Content to render the column header.**** (\[SearchColumnFlags]\(/engine/6000.7/script-reference/unityeditor/search/searchcolumnflags)): Column flags.

## SearchColumn(string, string, GUIContent, SearchColumnFlags)

Creates a new search column.

```csharp
public SearchColumn(string path, string selector, GUIContent content = null, SearchColumnFlags options = SearchColumnFlags.Default)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Serialization path of the column.**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Selector used to fetch the field data of a search item. See [SearchSelectorAttribute](/engine/6000.7/script-reference/unityeditor/search/searchselectorattribute.md).**** (\[GUIContent]\(/engine/6000.7/script-reference/unityengine/guicontent)): Content to render the column header.**** (\[SearchColumnFlags]\(/engine/6000.7/script-reference/unityeditor/search/searchcolumnflags)): Column flags.

## SearchColumn(string, string, string, GUIContent, SearchColumnFlags)

Creates a new search column.

```csharp
public SearchColumn(string path, string selector, string provider, GUIContent content = null, SearchColumnFlags options = SearchColumnFlags.Default)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Serialization path of the column.**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Selector used to fetch the field data of a search item. See [SearchSelectorAttribute](/engine/6000.7/script-reference/unityeditor/search/searchselectorattribute.md).**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Column provider used to manage the column. See [SearchColumnProviderAttribute](/engine/6000.7/script-reference/unityeditor/search/searchcolumnproviderattribute.md).**** (\[GUIContent]\(/engine/6000.7/script-reference/unityengine/guicontent)): Content to render the column header.**** (\[SearchColumnFlags]\(/engine/6000.7/script-reference/unityeditor/search/searchcolumnflags)): Column flags.
