Microsoft Silverlight will reach end of support after October 2021. Learn more.
Provides custom formatting for XML serialization and deserialization to control how your object is serialized or deserialized by the XmlSerializer.
Assembly: System.Xml (in System.Xml.dll)
'Declaration Public Interface IXmlSerializable
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 nulla null reference (Nothing in Visual Basic) reference (Nothing in Visual Basic) from this method.|
|ReadXml||Generates an object from its XML representation.|
|WriteXml||Converts an object into its XML representation.|
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
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.