Export (0) Print
Expand All

XmlSerializer.Serialize Method

Serializes an object into an XML document.

Name Description
XmlSerializer.Serialize (Object, XmlSerializationWriter) Serializes the specified Object and writes the XML document to a file using the specified XmlSerializationWriter.
XmlSerializer.Serialize (Stream, Object) Serializes the specified Object and writes the XML document to a file using the specified Stream.

Supported by the .NET Compact Framework.

XmlSerializer.Serialize (TextWriter, Object) Serializes the specified Object and writes the XML document to a file using the specified TextWriter.

Supported by the .NET Compact Framework.

XmlSerializer.Serialize (XmlWriter, Object) Serializes the specified Object and writes the XML document to a file using the specified XmlWriter.

Supported by the .NET Compact Framework.

XmlSerializer.Serialize (Stream, Object, XmlSerializerNamespaces) Serializes the specified Object and writes the XML document to a file using the specified Streamthat references the specified namespaces.

Supported by the .NET Compact Framework.

XmlSerializer.Serialize (TextWriter, Object, XmlSerializerNamespaces) Serializes the specified Object and writes the XML document to a file using the specified TextWriter and references the specified namespaces.

Supported by the .NET Compact Framework.

XmlSerializer.Serialize (XmlWriter, Object, XmlSerializerNamespaces) Serializes the specified Object and writes the XML document to a file using the specified XmlWriter and references the specified namespaces.

Supported by the .NET Compact Framework.

XmlSerializer.Serialize (XmlWriter, Object, XmlSerializerNamespaces, String) Serializes the specified object and writes the XML document to a file using the specified XmlWriter and references the specified namespaces and encoding style.

Supported by the .NET Compact Framework.

XmlSerializer.Serialize (XmlWriter, Object, XmlSerializerNamespaces, String, String) Serializes the specified Object and writes the XML document to a file using the specified XmlWriter, XML namespaces, and encoding.

Community Additions

ADD
Show:
© 2014 Microsoft