XElement::IXmlSerializable::WriteXml Method (XmlWriter^)
Converts an object into its XML representation.
Assembly: System.Xml.Linq (in System.Xml.Linq.dll)
This method is used internally for marshaling object graphs that contain LINQ to XML objects. For an example of serializing an object graph that contains LINQ to XML objects, see Serializing Object Graphs that Contain XElement Objects.
Available since 10
Available since 3.5
Available since 2.0
Windows Phone Silverlight
Available since 7.0