Customizing XML Serialization in .NET 2.0 Using the IXmlSerializable Interface
n .NET 2.0, Microsoft has exposed the methods of the IXmlSerializable interface, giving you far more control over the way your objects get serialized to XML than in previous versions.