To retrieve the tag of the selected item you can do:
Treeview1.Selectedtem.Tag
The difference between the two...Tag can be used to set any old values on each node but doesn't help in finding specific nodes in a large tree. The Key can be used to give a 'name' to a node so you can easily locate the specific node at a later stage.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.