This version of Unity is unsupported.

TreeView.SetSelection

public void SetSelection(IList<int> selectedIDs);
public void SetSelection(IList<int> selectedIDs, IMGUI.Controls.TreeViewSelectionOptions options);

Parameters

selectedIDsTreeViewItem IDs.
optionsOptions for extra logic performed after the selection. See TreeViewSelectionOptions.

Description

Set the selected items of the TreeView.