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)

Syntax

Private Sub WriteXml ( _
    writer As XmlWriter _
) Implements IXmlSerializable.WriteXml
void IXmlSerializable.WriteXml(
    XmlWriter writer
)

Parameters

Implements

IXmlSerializable..::.WriteXml(XmlWriter)

Remarks

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

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

XElement Class

System.Xml.Linq Namespace