Version: 2017.2

TreeView.GetSelection

Switch to Manual
public IList<int> GetSelection ();

Description

Returns the list of TreeViewItem IDs that are currently selected.