This version of Unity is unsupported.

CollectionViewController.GetIndexForId

Declaration

public int GetIndexForId(int id);

Parameters

id The item id..

Returns

int The item index.

Description

Returns the index for the specified id.

For example, the index will be different from the id in a tree.