IXmlSerializable.WriteXml Method

XElement.IXmlSerializable.WriteXml Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Converts an object into its XML representation.

Namespace:  System.Xml.Linq
Assembly:  System.Xml.Linq (in System.Xml.Linq.dll)

void IXmlSerializable.WriteXml(
	XmlWriter writer
)

Parameters

writer
Type: System.Xml.XmlWriter
The XmlWriter to which this object is serialized.

Implements

IXmlSerializable.WriteXml(XmlWriter)

This method is used internally for marshaling object graphs that contain LINQ to XML objects.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft