This version of Unity is unsupported.

ListView.SetSelection

Declaration

public void SetSelection(int index);

Parameters

index Item index.

Description

Sets the currently selected item.


Declaration

public void SetSelection(IEnumerable<int> indices);

Parameters

indices Collection of items to be selected.

Description

Sets a collection of selected items.