Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用此链接上描述的方法,在 TreeView 控件中显示 XML 文件。
但我需要得到从根到叶子的所有路径如何得到它?
请帮帮我!谢谢
Your referenced page answers your question and describes completely how to get all the paths from root to leaves. This is steps 1 through to 8.