Converts an object into its XML representation.

Examples

The vector: [ (1,0) (2,0) (3,0) ] would be serialized as:

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public void WriteXml(
	XmlWriter writer
)
Visual Basic (Declaration)
Public Sub WriteXml ( _
	writer As XmlWriter _
)
Visual C++
public:
virtual void WriteXml(
	XmlWriter^ writer
) sealed

Parameters

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

Implements

IXmlSerializable..::.WriteXml(XmlWriter)

See Also