Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IndexOf(SortColumnDescription)

Returns the index of the specified SortColumnDescription if it is contained in the collection; returns -1 otherwise.
Read time 1 minuteLast updated 6 days ago

Definition

public int IndexOf(SortColumnDescription desc)

Parameters

The description to locate in the SortColumnDescriptions.

Returns

Type

Description

intThe index of the SortColumnDescriptions if found in the collection; otherwise, -1.