# SortColumnDescriptions

> This represents a collection or SortColumnDescriptions in multi SortColumnDescription views.

## Definition

* **Type:** Class
* **Namespace:** [UnityEngine.UIElements](/engine/6000.5/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule
* **Implements:** [ICollection\<SortColumnDescription>](https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1), [IEnumerable\<SortColumnDescription>](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1), [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.ienumerable)

```csharp
public class SortColumnDescriptions : ICollection<SortColumnDescription>, IEnumerable<SortColumnDescription>, IEnumerable
```

## Properties

| Property                                                                                                  | Description                                                 |
| --------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------- |
| [Count](/engine/6000.5/script-reference/unityengine/uielements/sortcolumndescriptions/count.md)           | Gets the number of sort descriptions in the collection.     |
| [IsReadOnly](/engine/6000.5/script-reference/unityengine/uielements/sortcolumndescriptions/isreadonly.md) | Gets a value indicating whether the collection is readonly. |
| [this\[\]](/engine/6000.5/script-reference/unityengine/uielements/sortcolumndescriptions/item.md)         | Returns the SortColumnDescription at the specified index.   |

## Methods

| Method                                                                                                          | Description                                                                                                                                                                                             |
| --------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Add](/engine/6000.5/script-reference/unityengine/uielements/sortcolumndescriptions/add.md)                     | Adds a sort description at the end of the collection.                                                                                                                                                   |
| [Clear](/engine/6000.5/script-reference/unityengine/uielements/sortcolumndescriptions/clear.md)                 | Removes all sort descriptions from the collection.                                                                                                                                                      |
| [Contains](/engine/6000.5/script-reference/unityengine/uielements/sortcolumndescriptions/contains.md)           | Determines whether the current collection contains a specific value.                                                                                                                                    |
| [CopyTo](/engine/6000.5/script-reference/unityengine/uielements/sortcolumndescriptions/copyto.md)               | Copies the elements of the current collection to a Array, starting at the specified index.                                                                                                              |
| [GetEnumerator](/engine/6000.5/script-reference/unityengine/uielements/sortcolumndescriptions/getenumerator.md) | Returns an enumerator that iterates through the collection.                                                                                                                                             |
| [IndexOf](/engine/6000.5/script-reference/unityengine/uielements/sortcolumndescriptions/indexof.md)             | Returns the index of the specified [SortColumnDescription](/engine/6000.5/script-reference/unityengine/uielements/sortcolumndescription.md) if it is contained in the collection; returns -1 otherwise. |
| [Insert](/engine/6000.5/script-reference/unityengine/uielements/sortcolumndescriptions/insert.md)               | Inserts a sort description into the current instance at the specified index.                                                                                                                            |
| [Remove](/engine/6000.5/script-reference/unityengine/uielements/sortcolumndescriptions/remove.md)               | Removes the first occurence of a sort description from the collection.                                                                                                                                  |
| [RemoveAt](/engine/6000.5/script-reference/unityengine/uielements/sortcolumndescriptions/removeat.md)           | Removes the sort description at the specified index.                                                                                                                                                    |
