System.Xml.Serialization.XmlSerializer.Serialize Method

Serializes the specified object and writes the XML document to a file using the specified System.Xml.Serialization.XmlSerializationWriter.

Syntax

protected virtual void Serialize (object o, XmlSerializationWriter writer)

Parameters

o
The object to serialize.
writer
The System.Xml.Serialization.XmlSerializationWriter used to write the XML document.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Xml.Serialization
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0