Serializing Object Graphs that Contain XElement Objects
This topic introduces the capability of serializing object graphs that contain references to objects of type XElement. To facility this type of serializing, XElement implements the IXmlSerializable interface.
Note that only the XElement class implements serialization.
In This Section
Topic |
Description |
---|---|
Demonstrates how to serialize using XmlSerializer. |
|
Demonstrates how to serialize using DataContractSerializer. |