Provides custom formatting for XML serialization and deserialization to control how your object is serialized or deserialized by the XmlSerializer.
public interface IXmlSerializable
The IXmlSerializable type exposes the following members.
|GetSchema||This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return a null reference (Nothing in Visual Basic) from this method.|
|ReadXml||Generates an object from its XML representation.|
|WriteXml||Converts an object into its XML representation.|
To control the serialization, implement the ReadXml() and WriteXml() methods to control the XmlReader and XmlWriter classes used to read and write the XML.
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
Supported in: Xbox 360, Windows Phone OS 7.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback