代码大致
for each n as object in tr.allnodes
if n.text = "xxx" then
tr.SelectedNode = n
exit for
end if
next
如果要精确,可以比较 fullpath 和 fullname