Version: 2018.2
public IList<int> GetSelection ();

Description

Returns the list of TreeViewItem IDs that are currently selected.