O'Reilly logo

Microsoft® Visual Basic® 2010 Developer’s Handbook by Klaus Löffelmann and Sarika Calla Purohit

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 20. Serialization

As you develop applications, you will eventually need to save the objects that you use to manage data so that you can retrieve and use them later, or you’ll need to pass them to a different instance for further processing. In such cases, you basically need to create a snapshot of the current “state” of an object, saving all properties and all child objects at the same time. Of course, initially it doesn’t matter how you save data; you can read objects in byte-by-byte fashion directly from the memory or write them into a file. You could also compress the data by using appropriate ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required