Serialize Method

XmlSerializer.Serialize Method

 

Serializes an object into an XML document.

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

NameDescription
System_CAPS_protmethodSerialize(Object, XmlSerializationWriter)

This API supports the product infrastructure and is not intended to be used directly from your code. Serializes the specified Object and writes the XML document to a file using the specified XmlSerializationWriter.

System_CAPS_pubmethodSerialize(Stream, Object)

Serializes the specified Object and writes the XML document to a file using the specified Stream.

System_CAPS_pubmethodSerialize(Stream, Object, XmlSerializerNamespaces)

Serializes the specified Object and writes the XML document to a file using the specified Streamthat references the specified namespaces.

System_CAPS_pubmethodSerialize(TextWriter, Object)

Serializes the specified Object and writes the XML document to a file using the specified TextWriter.

System_CAPS_pubmethodSerialize(TextWriter, Object, XmlSerializerNamespaces)

Serializes the specified Object and writes the XML document to a file using the specified TextWriter and references the specified namespaces.

System_CAPS_pubmethodSerialize(XmlWriter, Object)

Serializes the specified Object and writes the XML document to a file using the specified XmlWriter.

System_CAPS_pubmethodSerialize(XmlWriter, Object, XmlSerializerNamespaces)

Serializes the specified Object and writes the XML document to a file using the specified XmlWriter and references the specified namespaces.

System_CAPS_pubmethodSerialize(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.

System_CAPS_pubmethodSerialize(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.

Return to top
Show:
© 2016 Microsoft