# Monday, February 27, 2006
« The MiniDisc Mixes (Mix 3) | Main | The MiniDisc Mixes (Mix 8) »

For the second time I've wasted time trying to work out why the serialized output from the XmlSerializer was missing elements so it's time to write the answer here as a reminder for next time.

Basically the XmlSerializer will not output content that it can't read back in which means that any read only property will not be serialized.

This is not the case for properties that implement ICollection or IEnumerable as collections have their own serialization rules.

by This posting is provided "AS IS" with no warranties, and confers no rights.
posted on Monday, February 27, 2006 4:01:09 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback
Related posts:
Testing Windows Forms Applications
Messing around with the Insert Code plug-in
Link Dump
Debugging FullTrust VSTO InfoPath Forms
Which version of the .NET Framework does Excel load?
Configuration Settings for Reporting Services Extensions
Comments are closed.