This version of Unity is unsupported.

TreeViewState.selectedIDs

public List<int> selectedIDs;

Description

Selected TreeViewItem IDs. Use of the SetSelection and IsSelected API will access this state.