Easy to use collection that gives a flat tree. You can define parents and get a list of first level items. You can also get either all childs or only direct first level childs of any item.
This is not optimized for speed at all, so it is only handy for handling small amounts of data that is easy to format into a tree. Also, it is only meant for containing string data (although it should be fairly easy to overcome this limitation).
There is no limitation to the number of childs or levels in the tree.
Nice code, I have a new application that I might be able to use your class, thanks!!!
Regards,
Mark
Please remember to rate posts! Rate any post you find helpful. Use the link to the left - "Rate this Post". Please use [highlight='vb'] your code goes in here [/highlight] tags when posting code. When a question you asked has been resolved, please go to the top of the original post and click "Thread Tools" then select "Mark Thread Resolved."