foreach (TreeNode tr in TreeView1.Nodes) { tr.Value or tr.Text }
For Each tr As TreeNode In TreeView1.Nodes Dim val As str = tr.Value ' or Dim text As str = tr.Text Next