Click here to Skip to main content
15,893,668 members
Articles / Desktop Programming / Windows Forms

Loading and Saving a TreeView control to an XML file using XmlTextWriter and XmlTextReader

Rate me:
Please Sign up or sign in to vote.
4.74/5 (56 votes)
17 Feb 2006CPOL4 min read 231.1K   15.1K   134  
Demonstrates how to serialize and de-serialize the contents of System.Windows.Forms.TreeView control from an XML file using forward only, non-cached XmlTextReader and XmlTextWriter.

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United Arab Emirates United Arab Emirates

Comments and Discussions