IndexOf(SortColumnDescription)
Returns the index of the specified SortColumnDescription if it is contained in the collection; returns -1 otherwise.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public int IndexOf(SortColumnDescription desc)
Parameters
The description to locate in the SortColumnDescriptions.
Returns
Type | Description |
|---|---|
| int | The index of the SortColumnDescriptions if found in the collection; otherwise, -1. |