# Contains

> Whether the columns contain the specified name.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.UIElements](/engine/6000.0/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

## Contains(Column)

Whether the columns contain the specified name.

```csharp
public bool Contains(Column item)
```

### Parameters

**** (\[Column]\(/engine/6000.0/script-reference/unityengine/uielements/column)):&#x20;

### Returns

| Type                                                          | Description                                         |
| ------------------------------------------------------------- | --------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Whether a column with the given name exists or not. |

## Contains(string)

Whether the columns contain the specified name.

```csharp
public bool Contains(string name)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The name of the column to look for.

### Returns

| Type                                                          | Description                                         |
| ------------------------------------------------------------- | --------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Whether a column with the given name exists or not. |
